diff --git a/cdi-ee-tck/tck-dist/artifact-install.pom b/cdi-ee-tck/tck-dist/artifact-install.pom index 419085ede0..6091991af2 100644 --- a/cdi-ee-tck/tck-dist/artifact-install.pom +++ b/cdi-ee-tck/tck-dist/artifact-install.pom @@ -38,7 +38,7 @@ cdi-tck-ee-parent ${project.version} pom - cdi-tck-parent-${project.version}.pom + cdi-tck-ee-parent-${project.version}.pom false @@ -52,11 +52,9 @@ jakarta.enterprise cdi-tck-api - ${project.version} + ${cdi.core.tck.version} jar - cdi-tck-api-${project.version}.jar - cdi-tck-api-${project.version}-javadoc.jar - cdi-tck-api-${project.version}-sources.jar + cdi-tck-api-${cdi.core.tck.version}.jar true @@ -70,9 +68,9 @@ jakarta.enterprise cdi-tck-ext-lib - ${project.version} + ${cdi.core.tck.version} jar - cdi-tck-ext-lib-${project.version}.jar + cdi-tck-ext-lib-${cdi.core.tck.version}.jar true @@ -88,7 +86,7 @@ cdi-tck-ee-impl ${project.version} jar - cdi-ee-tck-impl-${project.version}.jar + cdi-tck-ee-impl-${project.version}.jar true diff --git a/cdi-ee-tck/tck-dist/pom.xml b/cdi-ee-tck/tck-dist/pom.xml index b2053009e2..f69f96142e 100644 --- a/cdi-ee-tck/tck-dist/pom.xml +++ b/cdi-ee-tck/tck-dist/pom.xml @@ -21,6 +21,17 @@ + + jakarta.enterprise + cdi-tck-api + ${cdi.core.tck.version} + + + jakarta.enterprise + cdi-tck-ext-lib + ${cdi.core.tck.version} + + jakarta.tck cdi-tck-ee-parent diff --git a/cdi-ee-tck/tck-dist/src/main/assembly/assembly.xml b/cdi-ee-tck/tck-dist/src/main/assembly/assembly.xml index 69f56a4627..0472b96263 100644 --- a/cdi-ee-tck/tck-dist/src/main/assembly/assembly.xml +++ b/cdi-ee-tck/tck-dist/src/main/assembly/assembly.xml @@ -55,6 +55,8 @@ jakarta.tck:cdi-tck-ee-parent:pom jakarta.tck:cdi-tck-ee-impl + jakarta.enterprise:cdi-tck-api + jakarta.enterprise:cdi-tck-ext-lib true artifacts diff --git a/glassfish-runner/cdi-tck/pom.xml b/glassfish-runner/cdi-tck/pom.xml index d142b98595..1f6def2237 100644 --- a/glassfish-runner/cdi-tck/pom.xml +++ b/glassfish-runner/cdi-tck/pom.xml @@ -31,19 +31,23 @@ Aggregates dependencies and runs the CDI TCK (both standalone and on GlassFish) + 11.0.0-SNAPSHOT 4.1.0 11.0.0-SNAPSHOT ${project.build.directory} - 8.0.0-M6 + 8.0.0-M7 2.50.0 false + + false + false 5.1.2.Final 6.0.Beta5 @@ -64,7 +68,6 @@ 2.0.0 - @@ -230,8 +233,8 @@ jakarta.enterprise cdi-tck-ee-impl ${cdi.ee.tck.version} - xml suite + xml test @@ -355,6 +358,16 @@ false tck-core-suite.xml + + jakarta.tck + cdi-tck-ee-impl + ${cdi.ee.tck.version} + xml + suite + false + tck-ee-suite.xml + + target/suites false @@ -410,44 +423,6 @@ maven-failsafe-plugin 3.3.0 - - -Xmx768m - - - - target/suites/tck-core-suite.xml - - ${excluded.groups} - - jakarta.enterprise:cdi-tck-core-impl - - - - surefire.testng.verbose - 1 - - - 1 - true - - - ${glassfish.root}/glassfish8 - true - 2048m - :org.jboss.cdi.tck... - cdiTckExcludeDummy=true - glassfish.servlet.loadAllOnStartup=true - create-jms-resource --restype jakarta.jms.Queue --property Name=queue_test queue_test - create-jms-resource --restype jakarta.jms.Topic --property Name=topic_test topic_test - set configs.config.server-config.cdi-service.enable-implicit-cdi=true - create-file-user --groups student --passwordfile ${project.build.directory}/test-classes/password.txt student - create-file-user --groups printer --passwordfile ${project.build.directory}/test-classes/password.txt printer - create-file-user --groups student:alarm --passwordfile ${project.build.directory}/test-classes/password.txt alarm - ${project.build.outputDirectory} - ${project.build.directory}/dependency/lib - true - - org.apache.maven.surefire @@ -457,11 +432,97 @@ - run tck + run core tck integration-test integration-test + + ${skip.core.cdi.tck} + -Xmx768m + + + + target/suites/tck-core-suite.xml + + ${excluded.groups} + + jakarta.enterprise:cdi-tck-core-impl + + + + surefire.testng.verbose + 1 + + + 1 + true + + + ${glassfish.root}/glassfish8 + true + 2048m + :org.jboss.cdi.tck... + cdiTckExcludeDummy=true + glassfish.servlet.loadAllOnStartup=true + create-jms-resource --restype jakarta.jms.Queue --property Name=queue_test queue_test + create-jms-resource --restype jakarta.jms.Topic --property Name=topic_test topic_test + set configs.config.server-config.cdi-service.enable-implicit-cdi=true + create-file-user --groups student --passwordfile ${project.build.directory}/test-classes/password.txt student + create-file-user --groups printer --passwordfile ${project.build.directory}/test-classes/password.txt printer + create-file-user --groups student:alarm --passwordfile ${project.build.directory}/test-classes/password.txt alarm + ${project.build.outputDirectory} + ${project.build.directory}/dependency/lib + true + + + + + + run ee tck + + integration-test + + integration-test + + ${skip.ee.cdi.tck} + -Xmx768m + + + + target/suites/tck-ee-suite.xml + + ${excluded.groups} + + jakarta.tck:cdi-tck-ee-impl + + + + surefire.testng.verbose + 1 + + + 1 + true + + + ${glassfish.root}/glassfish8 + true + 2048m + :org.jboss.cdi.tck... + cdiTckExcludeDummy=true + glassfish.servlet.loadAllOnStartup=true + create-jms-resource --restype jakarta.jms.Queue --property Name=queue_test queue_test + create-jms-resource --restype jakarta.jms.Topic --property Name=topic_test topic_test + set configs.config.server-config.cdi-service.enable-implicit-cdi=true + create-file-user --groups student --passwordfile ${project.build.directory}/test-classes/password.txt student + create-file-user --groups printer --passwordfile ${project.build.directory}/test-classes/password.txt printer + create-file-user --groups student:alarm --passwordfile ${project.build.directory}/test-classes/password.txt alarm + ${project.build.outputDirectory} + ${project.build.directory}/dependency/lib + true + +