diff --git a/glassfish-runner/batch-tck/pom.xml b/glassfish-runner/batch-tck/pom.xml index f822b09650..c336ffed90 100644 --- a/glassfish-runner/batch-tck/pom.xml +++ b/glassfish-runner/batch-tck/pom.xml @@ -38,8 +38,8 @@ Copyright (c) 2022 Contributors to the Eclipse Foundation - 7.0.0-M10 glassfish7 + 7.0.0-M10 2.1.0 diff --git a/glassfish-runner/batch-tck/sigtests/pom.xml b/glassfish-runner/batch-tck/sigtests/pom.xml index b1f83bdf02..96541e226c 100644 --- a/glassfish-runner/batch-tck/sigtests/pom.xml +++ b/glassfish-runner/batch-tck/sigtests/pom.xml @@ -14,8 +14,8 @@ glassfish.batch-tck.sigtests - 7.0.0-M10 glassfish7 + 7.0.0-M10 2.1.5 diff --git a/glassfish-runner/cdi-tck/pom.xml b/glassfish-runner/cdi-tck/pom.xml index 1f6def2237..ec2dc84058 100644 --- a/glassfish-runner/cdi-tck/pom.xml +++ b/glassfish-runner/cdi-tck/pom.xml @@ -32,9 +32,9 @@ 11.0.0-SNAPSHOT + 11.0.0-SNAPSHOT 4.1.0 - 11.0.0-SNAPSHOT ${project.build.directory} diff --git a/glassfish-runner/pom.xml b/glassfish-runner/pom.xml index 14e54e3aac..5200c748ba 100644 --- a/glassfish-runner/pom.xml +++ b/glassfish-runner/pom.xml @@ -39,20 +39,20 @@ jsonb-tck jsonp-tck pages-tck - jpa-platform-tck + persistence-platform-tck servlet-tck + 1.9.1.Final glassfish - 7.0.0 glassfish7 + 7.0.0 3.1.0 2.1.0 3.0.0 11 jakarta-restful-ws-tck - 1.9.1.Final @@ -66,7 +66,6 @@ - diff --git a/glassfish-runner/transactions-platform-tck/j2ee.pass b/glassfish-runner/transactions-platform-tck/j2ee.pass deleted file mode 100644 index dccc3037eb..0000000000 --- a/glassfish-runner/transactions-platform-tck/j2ee.pass +++ /dev/null @@ -1,17 +0,0 @@ - -# -# Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved. -# -# This program and the accompanying materials are made available under the -# terms of the Eclipse Public License v. 2.0, which is available at -# http://www.eclipse.org/legal/epl-2.0. -# -# This Source Code may also be made available under the following Secondary -# Licenses when the conditions for such availability set forth in the -# Eclipse Public License v. 2.0 are satisfied: GNU General Public License, -# version 2 with the GNU Classpath Exception, which is available at -# https://www.gnu.org/software/classpath/license.html. -# -# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 -# -AS_ADMIN_USERPASSWORD=j2ee diff --git a/glassfish-runner/transactions-platform-tck/javajoe.pass b/glassfish-runner/transactions-platform-tck/javajoe.pass deleted file mode 100644 index d69a7520e5..0000000000 --- a/glassfish-runner/transactions-platform-tck/javajoe.pass +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved. -# -# This program and the accompanying materials are made available under the -# terms of the Eclipse Public License v. 2.0, which is available at -# http://www.eclipse.org/legal/epl-2.0. -# -# This Source Code may also be made available under the following Secondary -# Licenses when the conditions for such availability set forth in the -# Eclipse Public License v. 2.0 are satisfied: GNU General Public License, -# version 2 with the GNU Classpath Exception, which is available at -# https://www.gnu.org/software/classpath/license.html. -# -# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 -# -AS_ADMIN_USERPASSWORD=javajoe diff --git a/glassfish-runner/transactions-tck/pom.xml b/glassfish-runner/transactions-tck/pom.xml new file mode 100644 index 0000000000..ba1453df90 --- /dev/null +++ b/glassfish-runner/transactions-tck/pom.xml @@ -0,0 +1,36 @@ + + + + + 4.0.0 + + + org.glassfish + standalone-tck + 11.0.0-SNAPSHOT + + + transactions-tck + 4.0.0-SNAPSHOT + pom + + + transactions-tck-install + transactions-tck-run + + diff --git a/glassfish-runner/transactions-tck/transactions-tck-install/pom.xml b/glassfish-runner/transactions-tck/transactions-tck-install/pom.xml new file mode 100644 index 0000000000..29aeb007b9 --- /dev/null +++ b/glassfish-runner/transactions-tck/transactions-tck-install/pom.xml @@ -0,0 +1,112 @@ + + + + 4.0.0 + + + org.glassfish + transactions-tck + 4.0.0-SNAPSHOT + + + transactions-tck-install + pom + TCK: Install Jakarta transactions TCK + + + + + com.googlecode.maven-download-plugin + download-maven-plugin + 1.11.0 + + true + ${project.build.directory} + + + + + download-tck-tools + + wget + + generate-resources + + https://github.com/eclipse-ee4j/jakartaee-tck-tools/archive/refs/heads/master.zip + + + + download-transactions-tck + + wget + + generate-resources + + **/extensions.xml + https://github.com/jakartaee/platform-tck/archive/refs/heads/main.zip + + + + + + + org.apache.maven.plugins + maven-invoker-plugin + 3.8.0 + + + + + tck_full_build + + run + + generate-resources + + true + ${project.build.directory}/platform-tck-main + + pom.xml + + clean install + + + + + + tools_build + + run + + process-resources + + true + ${project.build.directory}/jakartaee-tck-tools-master/arquillian + + pom.xml + + clean source:jar install + + + + + + + + diff --git a/glassfish-runner/transactions-platform-tck/jakartaeetck/bin/certificates/clientcert.jks b/glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/certificates/clientcert.jks similarity index 100% rename from glassfish-runner/transactions-platform-tck/jakartaeetck/bin/certificates/clientcert.jks rename to glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/certificates/clientcert.jks diff --git a/glassfish-runner/transactions-platform-tck/jakartaeetck/bin/certificates/clientcert.p12 b/glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/certificates/clientcert.p12 similarity index 100% rename from glassfish-runner/transactions-platform-tck/jakartaeetck/bin/certificates/clientcert.p12 rename to glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/certificates/clientcert.p12 diff --git a/glassfish-runner/transactions-platform-tck/jakartaeetck/bin/certificates/cts_cert b/glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/certificates/cts_cert similarity index 100% rename from glassfish-runner/transactions-platform-tck/jakartaeetck/bin/certificates/cts_cert rename to glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/certificates/cts_cert diff --git a/glassfish-runner/transactions-platform-tck/jakartaeetck/bin/ts.jte b/glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/ts.jte similarity index 100% rename from glassfish-runner/transactions-platform-tck/jakartaeetck/bin/ts.jte rename to glassfish-runner/transactions-tck/transactions-tck-run/jakartaeetck/bin/ts.jte diff --git a/glassfish-runner/transactions-platform-tck/pom.xml b/glassfish-runner/transactions-tck/transactions-tck-run/pom.xml similarity index 80% rename from glassfish-runner/transactions-platform-tck/pom.xml rename to glassfish-runner/transactions-tck/transactions-tck-run/pom.xml index 1e8f378b2c..8624fc95c8 100644 --- a/glassfish-runner/transactions-platform-tck/pom.xml +++ b/glassfish-runner/transactions-tck/transactions-tck-run/pom.xml @@ -23,15 +23,13 @@ 11.0.0-SNAPSHOT - jakarta - glassfish.jta-platform-tck - jar + transactions-tck-run ${glassfish.root}/glassfish${glassfish.version.main} ${glassfish.home}/glassfish/lib ${project.build.directory} - 8.0.0-JDK17-M8 + 8.0.0-M8 8 11.0.0-M2 @@ -60,20 +58,7 @@ - - org.junit.jupiter - junit-jupiter - - - org.junit.vintage - junit-vintage-engine - test - - - jakarta.tck - jta-tck - ${tck.version} - + jakarta.platform jakarta.jakartaee-api @@ -81,67 +66,52 @@ provided + - org.jboss.arquillian.container - arquillian-container-test-spi - - - org.jboss.arquillian.container - arquillian-container-spi + jakarta.tck + jta-tck + ${tck.version} + + - org.jboss.arquillian.core - arquillian-core-spi + org.junit.jupiter + junit-jupiter - org.jboss.arquillian.test - arquillian-test-impl-base + org.junit.vintage + junit-vintage-engine + test + org.jboss.arquillian.junit5 arquillian-junit5-container - org.jboss.arquillian.junit - arquillian-junit-core - - - org.jboss.arquillian.junit5 - arquillian-junit5-core + org.jboss.arquillian.container + arquillian-container-spi + + org.omnifaces.arquillian arquillian-glassfish-server-managed 1.7 test + + jakarta.tck.arquillian arquillian-protocol-appclient ${project.version} - - org.jboss.shrinkwrap.resolver - shrinkwrap-resolver-api - 3.2.0 - - - org.jboss.shrinkwrap.resolver - shrinkwrap-resolver-impl-maven - 3.2.0 - - - org.jboss.shrinkwrap.resolver - shrinkwrap-resolver-api-maven - 3.2.0 - - - org.jboss.shrinkwrap.resolver - shrinkwrap-resolver-spi-maven - 3.2.0 - - jakarta.tck.arquillian arquillian-protocol-javatest @@ -179,33 +149,6 @@ jakarta.tck.arquillian tck-porting-lib - - jakarta.tck - common - ${project.version} - - - jakarta.tck - libutil - ${project.version} - - - jakarta.tck - runtime - ${project.version} - - - jakarta.tck - dbprocedures - 3.2.0 - test - - - jakarta.persistence - jakarta.persistence-api - - - @@ -233,7 +176,7 @@ - 004-copy-lib + 002-copy-lib copy @@ -271,13 +214,14 @@ verify + jakarta.tck:jta-tck tck-appclient com/sun/ts/tests/jta/ee/txpropagationtest/*Ejb*.java com/sun/ts/tests/jta/ee/usertransaction/**/*EjbTest*.java - jakarta.tck:jta-tck + ${ts.home} @@ -289,8 +233,6 @@ ${glassfish.home} set server-config.network-config.protocols.protocol.http-listener-1.http.trace-enabled=true - create-file-user --groups guest --passwordfile ${project.basedir}/javajoe.pass javajoe - create-file-user --groups staff:mgr --passwordfile ${project.basedir}/j2ee.pass j2ee create-jdbc-connection-pool --restype javax.sql.DataSource --datasourceclassname org.apache.derby.jdbc.ClientDataSource --property databaseName=${glassfish.home}/glassfish/domains/domain1/config/derbyDB:serverName=localhost:portNumber=1527:user=cts1:password=cts1 --steadypoolsize 32 --maxpoolsize 64 cts-derby-pool create-jdbc-resource --connectionpoolid cts-derby-pool jdbc/DB1 list-jdbc-connection-pools @@ -310,12 +252,9 @@ verify - - ${glassfish.home}/javadb/lib/derbytools.jar - ${glassfish.home}/javadb/lib/derbyclient.jar - ${glassfish.home}/javadb/lib/derby.jar - ${glassfish.home}/glassfish/modules/glassfish-naming.jar - + jakarta.tck:jta-tck + + ${javatest-testGroups} com/sun/ts/tests/jta/ee/transactional/ClientEjblitejspTest*.java com/sun/ts/tests/jta/ee/transactional/ClientEjbliteservletTest*.java @@ -326,9 +265,7 @@ com/sun/ts/tests/jta/ee/usertransaction/**/*JspTest*.java com/sun/ts/tests/jta/ee/usertransaction/**/*ServletTest*.java - - ${javatest-testGroups} - jakarta.tck:jta-tck + true ${glassfish.home}/glassfish/domains/domain1/config/derbyDB;create=true diff --git a/glassfish-runner/transactions-platform-tck/sql/derby/derby.ddl.sql b/glassfish-runner/transactions-tck/transactions-tck-run/sql/derby/derby.ddl.sql similarity index 100% rename from glassfish-runner/transactions-platform-tck/sql/derby/derby.ddl.sql rename to glassfish-runner/transactions-tck/transactions-tck-run/sql/derby/derby.ddl.sql diff --git a/glassfish-runner/transactions-platform-tck/sql/derby/derby.dml.sql b/glassfish-runner/transactions-tck/transactions-tck-run/sql/derby/derby.dml.sql similarity index 100% rename from glassfish-runner/transactions-platform-tck/sql/derby/derby.dml.sql rename to glassfish-runner/transactions-tck/transactions-tck-run/sql/derby/derby.dml.sql diff --git a/glassfish-runner/transactions-platform-tck/sql/derby/password.txt b/glassfish-runner/transactions-tck/transactions-tck-run/sql/derby/password.txt similarity index 100% rename from glassfish-runner/transactions-platform-tck/sql/derby/password.txt rename to glassfish-runner/transactions-tck/transactions-tck-run/sql/derby/password.txt diff --git a/glassfish-runner/transactions-platform-tck/src/main/java/org/glassfish/transactions/tck/GlassfishLoadableExtension.java b/glassfish-runner/transactions-tck/transactions-tck-run/src/main/java/org/glassfish/transactions/tck/GlassfishLoadableExtension.java similarity index 100% rename from glassfish-runner/transactions-platform-tck/src/main/java/org/glassfish/transactions/tck/GlassfishLoadableExtension.java rename to glassfish-runner/transactions-tck/transactions-tck-run/src/main/java/org/glassfish/transactions/tck/GlassfishLoadableExtension.java diff --git a/glassfish-runner/transactions-platform-tck/src/main/java/org/glassfish/transactions/tck/GlassfishTestArchiveProcessor.java b/glassfish-runner/transactions-tck/transactions-tck-run/src/main/java/org/glassfish/transactions/tck/GlassfishTestArchiveProcessor.java similarity index 100% rename from glassfish-runner/transactions-platform-tck/src/main/java/org/glassfish/transactions/tck/GlassfishTestArchiveProcessor.java rename to glassfish-runner/transactions-tck/transactions-tck-run/src/main/java/org/glassfish/transactions/tck/GlassfishTestArchiveProcessor.java diff --git a/glassfish-runner/transactions-platform-tck/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension b/glassfish-runner/transactions-tck/transactions-tck-run/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension similarity index 100% rename from glassfish-runner/transactions-platform-tck/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension rename to glassfish-runner/transactions-tck/transactions-tck-run/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension diff --git a/glassfish-runner/transactions-platform-tck/src/test/resources/appclient-arquillian.xml b/glassfish-runner/transactions-tck/transactions-tck-run/src/test/resources/appclient-arquillian.xml similarity index 100% rename from glassfish-runner/transactions-platform-tck/src/test/resources/appclient-arquillian.xml rename to glassfish-runner/transactions-tck/transactions-tck-run/src/test/resources/appclient-arquillian.xml diff --git a/glassfish-runner/transactions-platform-tck/src/test/resources/arquillian.xml b/glassfish-runner/transactions-tck/transactions-tck-run/src/test/resources/arquillian.xml similarity index 100% rename from glassfish-runner/transactions-platform-tck/src/test/resources/arquillian.xml rename to glassfish-runner/transactions-tck/transactions-tck-run/src/test/resources/arquillian.xml