diff --git a/glassfish-runner/tags-tck/password.txt b/glassfish-runner/tags-tck/password.txt new file mode 100644 index 0000000000..c7546fecbe --- /dev/null +++ b/glassfish-runner/tags-tck/password.txt @@ -0,0 +1,4 @@ +AS_ADMIN_MASTERPASSWORD= +AS_ADMIN_PASSWORD= +AS_ADMIN_USERPASSWORD= +AS_ADMIN_DBPASSWORD=CTS1 diff --git a/glassfish-runner/tags-tck/pom.xml b/glassfish-runner/tags-tck/pom.xml index d4b759a054..b6e330251f 100644 --- a/glassfish-runner/tags-tck/pom.xml +++ b/glassfish-runner/tags-tck/pom.xml @@ -1,5 +1,6 @@ - glassfish8 - 11.0.0-M2 - ${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derbyclient.jar:${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derbyshared.jar:${project.build.directory}/${glassfish.toplevel.dir}/javadb/lib/derbytools.jar - derby - org.apache.derby.jdbc.ClientDriver - derbyDB - cts1 - 1527 - localhost - jdbc:derby://${jstl.db.server}:${jstl.db.port}/${jstl.db.name};create=true - cts1 - 5.9.1 - jakarta-tags-tck + ${glassfish.root}/glassfish${glassfish.version.main} + ${project.build.directory} + 8.0.0-JDK17-M9 + 8 + 11.0.0-M4 4.0.0 + - org.junit.vintage - junit-vintage-engine - test + jakarta.platform + jakarta.jakartaee-api + ${jakarta.platform.version} + provided + + jakarta.tck - ${tck.artifactId} + jakarta-tags-tck ${tck.version} + + - org.glassfish.main.common - simple-glassfish-api - ${glassfish.version} + org.junit.vintage + junit-vintage-engine + test + org.jboss.arquillian.junit5 arquillian-junit5-container + - jakarta.platform - jakarta.jakartaee-api - ${jakarta.platform.version} - provided + org.jboss.arquillian.container + arquillian-container-test-spi + commons-httpclient commons-httpclient 3.1 - - org.glassfish.hk2 - hk2-locator - 3.0.0 - - - org.jboss.arquillian.container - arquillian-container-test-spi - + + org.omnifaces.arquillian arquillian-glassfish-server-managed - 1.2 + 1.7 test @@ -99,9 +89,7 @@ - org.apache.maven.plugins maven-dependency-plugin - 3.2.0 1-download-gf @@ -124,276 +112,9 @@ - - maven-antrun-plugin - 3.0.0 - - - 2-asadmin-permission - - run - - generate-resources - - - - - - - - - - - - - org.codehaus.mojo - exec-maven-plugin - - - 001-StopDomain - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - stop-domain - - - - - 002-StartDomain - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - start-domain - - - - - 003-create-jvm-options - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - create-jvm-options - -Djavax.xml.accessExternalStylesheet=all - - - - - 004-create-jvm-options - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - create-jvm-options - -Djavax.xml.accessExternalDTD=file,http - - - - - 005-create-jvm-options - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - create-jvm-options - -Djavax.xml.accessExternalSchema=all - - - 0 - 1 - - - - - 006-EnableTraceRequests - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - set - server-config.network-config.protocols.protocol.http-listener-1.http.trace-enabled=true - - - - - 007-DeleteUser-j2ee - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/j2ee.pass - delete-file-user - j2ee - - - 0 - 1 - - - - - 008-AddUser-j2ee - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/j2ee.pass - create-file-user - --groups - staff:mgr - j2ee - - - - - 009-DeleteUser-javajoe - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/javajoe.pass - delete-file-user - javajoe - - - 0 - 1 - - - - - 010-AddUser-javajoe - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/javajoe.pass - create-file-user - --groups - guest - javajoe - - - - - 011-list-users - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - list-file-users - - - - - 012-StopDomain - - exec - - pre-integration-test - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - stop-domain - - - - - 013-stop-database - - exec - - pre-integration-test - - ${exec.asadmin} - - stop-database - - - 0 - 1 - - - - - 014-start-database - - exec - - pre-integration-test - - ${exec.asadmin} - - start-database - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 3.0.0 - - - 015-initdb - - run - - integration-test - - - - - - - - - - maven-failsafe-plugin - 3.0.0-M5 gf-tests @@ -402,37 +123,36 @@ verify - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.servlet-api.jar - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.el-api.jar - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.servlet.jsp-api.jar - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.servlet.jsp.jstl-api.jar - ${testGroups} - jakarta.tck:${tck.artifactId} + jakarta.tck:jakarta-tags-tck ${project.build.directory}/${glassfish.toplevel.dir} - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish - glassfish - ${webServerHome}/domains/domain1/autodeploy - 30 - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.servlet-api.jar:${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.servlet.jsp-api.jar:${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.el-api.jar - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.servlet.jsp.jstl.jar:${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.servlet.jsp.jstl-api.jar + + true + ${glassfish.home}/glassfish/domains/domain1/config/derbyDB;create=true + ${project.basedir}/sql/derby/derby.ddl.jstl.sql + cts1 + ${project.basedir}/password.txt + + set server-config.network-config.protocols.protocol.http-listener-1.http.trace-enabled=true + create-jvm-options -Djavax.xml.accessExternalStylesheet=all + create-jvm-options -Djavax.xml.accessExternalSchema=all + create-jvm-options -Djavax.xml.accessExternalDTD=file,http + restart-domain + create-file-user --groups staff:mgr --passwordfile ${project.basedir}/j2ee.pass j2ee + create-file-user --groups guest --passwordfile ${project.basedir}/javajoe.pass javajoe + list-file-users + true - derbyDB + ${glassfish.home}/glassfish/domains/domain1/config/derbyDB localhost 1527 - jdbc:derby://${jstl.db.server}:${jstl.db.port}/${jstl.db.name};create=true + jdbc:derby://localhost:1527/${glassfish.home}/glassfish/domains/domain1/config/derbyDB org.apache.derby.jdbc.ClientDriver cts1 cts1 - j2ee - j2ee - javajoe - javajoe true true - com.sun.ts.tests.jstl.lib.implementation.sun.common.SunRIURL