diff --git a/faces-tck/pom.xml b/faces-tck/pom.xml index 41f95bc..a0c53ac 100644 --- a/faces-tck/pom.xml +++ b/faces-tck/pom.xml @@ -40,8 +40,8 @@ ${user.home}/.m2/settings.xml -B -e -s ${maven.settings.xml} -f ${tck.root}/faces-tck-${faces.version}/tck/pom.xml - clean install -Ppayara-ci-remote -P!glassfish-ci-managed -Dpayara.version=${payara.version} -Dfaces.version=${faces.version} -Dsigtest.api.groupId=org.glassfish -Dsigtest.api.artifactId=jakarta.faces -Dsigtest.api.version=${sigtest.api.version} -Dpayara.arquillian.version=${payara.arquillian.version} + clean install @@ -107,11 +107,42 @@ + Upgrade Selenium libs to latest Chrome + + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + replace-selenium-driver-version + pre-integration-test + + replace + + + false + + ${project.build.directory}/faces-tck-${faces.version}/tck/util/src/main/java/ee/jakarta/tck/faces/test/util/selenium/ChromeDevtoolsDriver.java + + + + + devtools.v124.network + devtools.v131.network + + + + + + org.codehaus.mojo exec-maven-plugin diff --git a/faces-tck/pom.xml-tck-util b/faces-tck/pom.xml-tck-util new file mode 100755 index 0000000..8e7dfee --- /dev/null +++ b/faces-tck/pom.xml-tck-util @@ -0,0 +1,90 @@ + + + + 4.0.0 + + + org.eclipse.ee4j.faces.tck + jakarta-faces-tck + 4.1.1 + + + org.eclipse.ee4j.tck.faces.test + util + + Jakarta Faces TCK ${project.version} - Test - Util + + + + junit + junit + compile + + + org.jboss.arquillian.junit + arquillian-junit-container + + + org.seleniumhq.selenium + selenium-java + 4.27.0 + + + org.seleniumhq.selenium + selenium-chrome-driver + 4.27.0 + + + org.seleniumhq.selenium + selenium-devtools-v131 + 4.27.0 + + + commons-lang + commons-lang + 2.6 + + + io.github.bonigarcia + webdrivermanager + 5.9.2 + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven-archive + + + org.eu.ingwar.tools + arquillian-suite-extension + 1.2.0 + + + + net.sourceforge.htmlunit + htmlunit + 2.70.0 + + + diff --git a/faces-tck/run-tck.sh b/faces-tck/run-tck.sh index 125335c..71a87ab 100755 --- a/faces-tck/run-tck.sh +++ b/faces-tck/run-tck.sh @@ -1,11 +1,17 @@ #!/bin/bash -if [ JAVA_HOME = "" ] ; then +#if [ JAVA_HOME = "" ] ; then export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 -fi +#fi + +#echo "Downloading Faces TCK" +#cd .. +#mvn clean install -pl .,:tck-download,:jakarta-faces-tck +#cd faces-tck + +#echo "Building old tck, expected time 3-7 minutes" +#cd target/faces-tck-4.1.1/tck/old-tck +#mvn clean install -Dtck.mode=platform -Dmojarra.noupdate=true -Dpayara.version=7.2024.1.Alpha2 -Dfaces.version=4.1.1 -pl :old-faces-tck-parent,:old-tck-build | tee ../../../old-tck.log +#cd .. -echo "Downloading Faces TCK" -cd .. -mvn clean install -pl .,:tck-download,:jakarta-faces-tck -cd faces-tck mvn clean verify