From 4cf7492f26fbc7645f6b3c539a55d11ab9ffb19d Mon Sep 17 00:00:00 2001 From: Lukas Jungmann Date: Mon, 4 Mar 2024 19:31:58 +0100 Subject: [PATCH] apply spotless to jaxrs tck runner Signed-off-by: Lukas Jungmann --- glassfish-runner/jaxrs-tck/pom.xml | 834 +++++++++++++---------------- 1 file changed, 375 insertions(+), 459 deletions(-) diff --git a/glassfish-runner/jaxrs-tck/pom.xml b/glassfish-runner/jaxrs-tck/pom.xml index 7a921643a2..f1b920adcd 100644 --- a/glassfish-runner/jaxrs-tck/pom.xml +++ b/glassfish-runner/jaxrs-tck/pom.xml @@ -1,3 +1,4 @@ + - - jakarta - glassfish-rest-tck - 3.1.1 - jar - 4.0.0 - Jakarta REST TCK run on glassfish - This verifies the compliance of Eclipse Glassfish using Jakarta REST standalone TCK + + 4.0.0 - - org.glassfish - standalone-tck - 11.0.0-SNAPSHOT - + + org.glassfish + standalone-tck + 11.0.0-SNAPSHOT + + jakarta + glassfish-rest-tck + 3.1.1 + jar + Jakarta REST TCK run on glassfish + This verifies the compliance of Eclipse Glassfish using Jakarta REST standalone TCK - - jakarta-restful-ws-tck - 3.1.3 - + + jakarta-restful-ws-tck + 3.1.3 + - - - org.junit.jupiter - junit-jupiter - - - org.jboss.arquillian.container - arquillian-glassfish-managed-6 - 1.0.0.Alpha1 - - - jakarta.ws.rs - jakarta.ws.rs-api - - - org.glassfish.jersey.core - jersey-client - - - org.glassfish.jersey.core - jersey-common - - - org.glassfish.hk2 - hk2-locator - - - - - jakarta.ws.rs - ${tck.artifactId} - ${tck.version} - test - - - org.glassfish.main.common - simple-glassfish-api - ${glassfish.container.version} - - - org.jboss.arquillian.junit5 - arquillian-junit5-container - 1.7.0.Alpha10 - - - commons-httpclient - commons-httpclient - 3.1 - - - org.netbeans.tools - sigtest-maven-plugin - 1.6 - - - org.glassfish.hk2 - hk2-locator - 3.0.3 - - - org.hamcrest - hamcrest - 2.2 - test - - + + + org.junit.jupiter + junit-jupiter + + + org.jboss.arquillian.container + arquillian-glassfish-managed-6 + 1.0.0.Alpha1 + + + jakarta.ws.rs + jakarta.ws.rs-api + + + org.glassfish.jersey.core + jersey-client + + + org.glassfish.jersey.core + jersey-common + + + org.glassfish.hk2 + hk2-locator + + + + + jakarta.ws.rs + ${tck.artifactId} + ${tck.version} + test + + + org.glassfish.main.common + simple-glassfish-api + ${glassfish.container.version} + + + org.jboss.arquillian.junit5 + arquillian-junit5-container + 1.7.0.Alpha10 + + + commons-httpclient + commons-httpclient + 3.1 + + + org.netbeans.tools + sigtest-maven-plugin + 1.6 + + + org.glassfish.hk2 + hk2-locator + 3.0.3 + + + org.hamcrest + hamcrest + 2.2 + test + + - - - full - - true - - - glassfish - - - - web - - web - - - + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack + + unpack + + pre-integration-test + + + + org.glassfish.main.distributions + ${glassfish-artifact-id} + ${glassfish.container.version} + zip + false + ${project.build.directory} + + + + + + + + org.codehaus.mojo + exec-maven-plugin + + + Step 01: StopDomain1 + + exec + + pre-integration-test + + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin + + stop-domain + + + + + Step 02: StartDomain1 + + exec + + pre-integration-test + + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin + + start-domain + + + + + Step 03: Enable Trace requests + + 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 + + + + + Step 04: Delete User 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 + + + + + Step 05: Add User 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 + + + + + Step 06: Delete User 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 + + + + + Step 07: Add User 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 + + + + + Step 08: list users + + exec + + pre-integration-test + + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin + + list-file-users + + + + + Step 09: StopDomain + + exec + + pre-integration-test + + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin + + stop-domain + + + + + + + maven-failsafe-plugin + + + gf-tests + + integration-test + verify + + + + **/SeBootstrapIT.java + + + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-server.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-client.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-common.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-sse.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-grizzly2-http.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet-core.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-json-binding.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-jaxb.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.ws.rs-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.xml.bind-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json.bind-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/parsson.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/hk2-locator.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jaxb-osgi.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/yasson.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/nucleus-grizzly-all.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.activation-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/angus-activation.jar + + jakarta.ws.rs:${tck.artifactId} + + ${project.build.directory}/${glassfish.toplevel.dir} + org.glassfish.jersey.servlet.ServletContainer + localhost + 8080 + true + j2ee + j2ee + javajoe + javajoe + ee.jakarta.tck.ws.rs.lib.implementation.sun.common.SunRIURL + ${project.build.directory}/jdk-bundle + jakarta.xml.bind + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.ws.rs-api.jar:${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.xml.bind-api.jar:${project.build.directory}/jdk-bundle/java.base:${project.build.directory}/jdk-bundle/java.rmi:${project.build.directory}/jdk-bundle/java.sql:${project.build.directory}/jdk-bundle/java.naming + + + ${project.build.directory}/${glassfish.toplevel.dir} + + + + + se-tests + + integration-test + verify + + + + **/SeBootstrapIT.java + + jakarta.ws.rs:${tck.artifactId} + + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-server.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-client.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-common.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-sse.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-grizzly2-http.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet-core.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-json-binding.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-jaxb.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.ws.rs-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.xml.bind-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json.bind-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/parsson.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/hk2-locator.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jaxb-osgi.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/yasson.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/nucleus-grizzly-all.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.activation-api.jar + ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/angus-activation.jar + + jakarta.ws.rs:${tck.artifactId} + + true + + + + + + + - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - pre-integration-test - - unpack - - - - - org.glassfish.main.distributions - ${glassfish-artifact-id} - ${glassfish.container.version} - zip - false - ${project.build.directory} - - - - - - - - org.codehaus.mojo - exec-maven-plugin - - - StopDomain1 - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - stop-domain - - - - - StartDomain1 - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - start-domain - - - - - Enable Trace requests - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - set - server-config.network-config.protocols.protocol.http-listener-1.http.trace-enabled=true - - - - - - Delete User j2ee - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/j2ee.pass - delete-file-user - j2ee - - - 0 - 1 - - - - - Add User j2ee - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/j2ee.pass - create-file-user - --groups - staff:mgr - j2ee - - - - - Delete User javajoe - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/javajoe.pass - delete-file-user - javajoe - - - 0 - 1 - - - - - Add User javajoe - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - --passwordfile - ${project.basedir}/javajoe.pass - create-file-user - --groups - guest - javajoe - - - - - list users - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - list-file-users - - - - - StopDomain - pre-integration-test - - exec - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/bin/asadmin - - stop-domain - - - - - - - maven-failsafe-plugin - - - gf-tests - - integration-test - verify - - - - **/SeBootstrapIT.java - - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-server.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-client.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-common.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-sse.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-grizzly2-http.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet-core.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-json-binding.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-jaxb.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.ws.rs-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.xml.bind-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json.bind-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/parsson.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/hk2-locator.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jaxb-osgi.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/yasson.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/nucleus-grizzly-all.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.activation-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/angus-activation.jar - - - jakarta.ws.rs:${tck.artifactId} - - ${project.build.directory}/${glassfish.toplevel.dir} - org.glassfish.jersey.servlet.ServletContainer - localhost - 8080 - true - j2ee - j2ee - javajoe - javajoe - ee.jakarta.tck.ws.rs.lib.implementation.sun.common.SunRIURL - - ${project.build.directory}/jdk-bundle - jakarta.xml.bind - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.ws.rs-api.jar:${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.xml.bind-api.jar:${project.build.directory}/jdk-bundle/java.base:${project.build.directory}/jdk-bundle/java.rmi:${project.build.directory}/jdk-bundle/java.sql:${project.build.directory}/jdk-bundle/java.naming - - - - ${project.build.directory}/${glassfish.toplevel.dir} - - - - - se-tests - - integration-test - verify - - - - **/SeBootstrapIT.java - - jakarta.ws.rs:${tck.artifactId} - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-server.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-client.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-common.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-sse.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-grizzly2-http.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-container-servlet-core.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-json-binding.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jersey-media-jaxb.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.ws.rs-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.xml.bind-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json.bind-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.json-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/parsson.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/hk2-locator.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jaxb-osgi.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/yasson.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/nucleus-grizzly-all.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.activation-api.jar - - - ${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/angus-activation.jar - - - jakarta.ws.rs:${tck.artifactId} - - true - - - - - - - + + + full + + true + + + glassfish + + + + web + + web + + +