diff --git a/wf-core-tck-runner/cdi-langmodel-tck/pom.xml b/wf-core-tck-runner/cdi-langmodel-tck/pom.xml index 5bcb79e..816f168 100644 --- a/wf-core-tck-runner/cdi-langmodel-tck/pom.xml +++ b/wf-core-tck-runner/cdi-langmodel-tck/pom.xml @@ -84,14 +84,8 @@ 3.0.0-M6 - --add-exports=java.desktop/sun.awt=ALL-UNNAMED - --add-opens=java.base/java.io=ALL-UNNAMED - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.lang.invoke=ALL-UNNAMED - --add-opens=java.base/java.security=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - --add-opens=java.management/javax.management=ALL-UNNAMED - --add-opens=java.naming/javax.naming=ALL-UNNAMED + ${addjdkexports} + ${addjdkopens} true 1 diff --git a/wf-core-tck-runner/cdi-tck/pom.xml b/wf-core-tck-runner/cdi-tck/pom.xml index ae60751..fefff65 100644 --- a/wf-core-tck-runner/cdi-tck/pom.xml +++ b/wf-core-tck-runner/cdi-tck/pom.xml @@ -121,7 +121,7 @@ org.jboss.shrinkwrap.descriptors shrinkwrap-descriptors-impl-javaee - 2.0.0 + ${shrinkwrap.ee.descriptors.impl.version} org.jboss.arquillian.protocol @@ -239,14 +239,8 @@ 3.0.0-M6 - --add-exports=java.desktop/sun.awt=ALL-UNNAMED - --add-opens=java.base/java.io=ALL-UNNAMED - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.lang.invoke=ALL-UNNAMED - --add-opens=java.base/java.security=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - --add-opens=java.management/javax.management=ALL-UNNAMED - --add-opens=java.naming/javax.naming=ALL-UNNAMED + ${addjdkexports} + ${addjdkopens} @@ -371,37 +365,37 @@ jakarta.annotation jakarta.annotation-api system - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/annotation/api/main/jakarta.annotation-api-2.1.1.jar + ${env.JBOSS_HOME}/${env.ANNOTATION_API} jakarta.el jakarta.el-api system - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/el/api/main/jboss-el-api_5.0_spec-4.0.0.CR1.jar + ${env.JBOSS_HOME}/${env.EXPRESSION_LANGUAGE_API} jakarta.interceptor jakarta.interceptor-api system - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/interceptor/api/main/jakarta.interceptor-api-2.1.0.jar + ${env.JBOSS_HOME}/${env.INTERCEPTER_API} jakarta.inject jakarta.inject-api system - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/inject/api/main/jakarta.inject-api-2.0.1.jar + ${env.JBOSS_HOME}/${env.INJECT_API} jakarta.enterprise jakarta.enterprise.lang-model system - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/enterprise/api/main/jakarta.enterprise.lang-model-4.0.0.jar + ${env.JBOSS_HOME}/${env.CDI_LANG_MODEL_API} jakarta.enterprise jakarta.enterprise.cdi-api system - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/enterprise/api/main/jakarta.enterprise.cdi-api-4.0.0.jar + ${env.JBOSS_HOME}/${env.CDI_API} @@ -458,7 +452,7 @@ jakarta.annotation jakarta.annotation-api system - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/annotation/api/main/jakarta.annotation-api-2.1.1.jar + ${env.JBOSS_HOME}/${env.ANNOTATION_API} diff --git a/wf-core-tck-runner/core-tck/pom.xml b/wf-core-tck-runner/core-tck/pom.xml index 105bad1..e547581 100644 --- a/wf-core-tck-runner/core-tck/pom.xml +++ b/wf-core-tck-runner/core-tck/pom.xml @@ -173,14 +173,8 @@ maven-failsafe-plugin - --add-exports=java.desktop/sun.awt=ALL-UNNAMED - --add-opens=java.base/java.io=ALL-UNNAMED - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.lang.invoke=ALL-UNNAMED - --add-opens=java.base/java.security=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - --add-opens=java.management/javax.management=ALL-UNNAMED - --add-opens=java.naming/javax.naming=ALL-UNNAMED + ${addjdkexports} + ${addjdkopens} diff --git a/wf-core-tck-runner/jsonp-tck/pom.xml b/wf-core-tck-runner/jsonp-tck/pom.xml index 59b2972..f7b19d3 100644 --- a/wf-core-tck-runner/jsonp-tck/pom.xml +++ b/wf-core-tck-runner/jsonp-tck/pom.xml @@ -132,14 +132,8 @@ ${excluded.groups} - --add-exports=java.desktop/sun.awt=ALL-UNNAMED - --add-opens=java.base/java.io=ALL-UNNAMED - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.lang.invoke=ALL-UNNAMED - --add-opens=java.base/java.security=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - --add-opens=java.management/javax.management=ALL-UNNAMED - --add-opens=java.naming/javax.naming=ALL-UNNAMED + ${addjdkexports} + ${addjdkopens} diff --git a/wf-core-tck-runner/pom.xml b/wf-core-tck-runner/pom.xml index 10992a5..cae847a 100644 --- a/wf-core-tck-runner/pom.xml +++ b/wf-core-tck-runner/pom.xml @@ -64,6 +64,10 @@ 11 + + --add-exports=java.desktop/sun.awt=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED + 2.1.1 2.1.0 @@ -80,6 +84,7 @@ 1.7.0.Alpha10 1.0.1.Final + 2.0.0 3.1 4.0.2 3.0.0-RC1 @@ -97,8 +102,8 @@ 3.0.0.Final ${env.JBOSS_HOME} - ${wildfly.home}/modules/system/layers/base/jakarta/json/api/main/jakarta.json-api-2.1.1.jar - ${wildfly.home}/modules/system/layers/base/jakarta/json/bind/api/main/jakarta.json.bind-api-3.0.0.jar + ${wildfly.home}/${env.JSONP_API} + ${wildfly.home}/${env.JSONB_API} diff --git a/wf-core-tck-runner/rest-tck/pom.xml b/wf-core-tck-runner/rest-tck/pom.xml index a816136..71a98df 100644 --- a/wf-core-tck-runner/rest-tck/pom.xml +++ b/wf-core-tck-runner/rest-tck/pom.xml @@ -200,14 +200,8 @@ ee.jakarta.tck.coreprofile.rs.CoreProfileRestTCKSuite - --add-exports=java.desktop/sun.awt=ALL-UNNAMED - --add-opens=java.base/java.io=ALL-UNNAMED - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.lang.invoke=ALL-UNNAMED - --add-opens=java.base/java.security=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - --add-opens=java.management/javax.management=ALL-UNNAMED - --add-opens=java.naming/javax.naming=ALL-UNNAMED + ${addjdkexports} + ${addjdkopens} wildfly-core-profile @@ -225,7 +219,7 @@ ee.jakarta.tck.ws.rs.lib.implementation.sun.common.SunRIURL jakarta.xml.bind - ${env.JBOSS_HOME}/modules/system/layers/base/jakarta/ws/rs/api/main/jakarta.ws.rs-api-${rest.api.version}.jar${path.separator}${env.JBOSS_HOME}/modules/system/layers/base/jakarta/xml/bind/api/main/jakarta.xml.bind-api-4.0.0.jar${path.separator}${jimage.dir}/java.base${path.separator}${jimage.dir}/java.rmi${path.separator}${jimage.dir}/java.sql${path.separator}${jimage.dir}/java.naming + ${env.JBOSS_HOME}/${env.REST_API}${path.separator}${env.JBOSS_HOME}/${env.XML_BIND_API}${path.separator}${jimage.dir}/java.base${path.separator}${jimage.dir}/java.rmi${path.separator}${jimage.dir}/java.sql${path.separator}${jimage.dir}/java.naming diff --git a/wf-core-tck-runner/run_all.sh b/wf-core-tck-runner/run_all.sh index 8c065c6..cd016f8 100644 --- a/wf-core-tck-runner/run_all.sh +++ b/wf-core-tck-runner/run_all.sh @@ -20,6 +20,67 @@ if [[ -z "${JBOSS_HOME}" ]]; then exit 1 fi +# locate SPEC API jars if not already specified +if [[ -z "${ANNOTATION_API}" ]]; then + pushd ${JBOSS_HOME} + export ANNOTATION_API=`find * -name jakarta*annotation*api*.jar` + popd +fi + +if [[ -z "${EXPRESSION_LANGUAGE_API}" ]]; then + pushd ${JBOSS_HOME} + export EXPRESSION_LANGUAGE_API=`find * -name *el-api*.jar` + popd +fi + +if [[ -z "${INTERCEPTER_API}" ]]; then + pushd ${JBOSS_HOME} + export INTERCEPTER_API=`find * -name *interceptor-api*.jar` + popd +fi + +if [[ -z "${INJECT_API}" ]]; then + pushd ${JBOSS_HOME} + export INJECT_API=`find * -name *inject-api*.jar` + popd +fi + +if [[ -z "${CDI_API}" ]]; then + pushd ${JBOSS_HOME} + export CDI_API=`find * -name *enterprise*cdi*api*.jar` + popd +fi + +if [[ -z "${CDI_LANG_MODEL_API}" ]]; then + pushd ${JBOSS_HOME} + export CDI_LANG_MODEL_API=`find * -name *enterprise*lang*model*.jar` + popd +fi + +if [[ -z "${JSONP_API}" ]]; then + pushd ${JBOSS_HOME} + export JSONP_API=`find * -name *json-api*.jar` + popd +fi + +if [[ -z "${JSONB_API}" ]]; then + pushd ${JBOSS_HOME} + export JSONB_API=`find * -name *json.bind*api*.jar` + popd +fi + +if [[ -z "${REST_API}" ]]; then + pushd ${JBOSS_HOME} + export REST_API=`find * -name *ws.rs-api*.jar` + popd +fi + +if [[ -z "${XML_BIND_API}" ]]; then + pushd ${JBOSS_HOME} + export XML_BIND_API=`find * -name *xml*bind*api*.jar` + popd +fi + echo "+++ Environment:" uname -a echo "JAVA_HOME=$JAVA_HOME"