| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| |
| Copyright (c) 2024 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 |
| |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-tck</artifactId> |
| <version>4.0.0</version> |
| <packaging>jar</packaging> |
| |
| <name>Jakarta RESTful WS Compliance for Jersey</name> |
| <description>This test verifies the compliance of Eclipse Jersey with Jakarta REST</description> |
| |
| <properties> |
| <maven.compiler.source>11</maven.compiler.source> |
| <maven.compiler.target>11</maven.compiler.target> |
| <jersey.version>4.0.99-SNAPSHOT</jersey.version> <!-- the public version that pass the tck --> |
| <tomcat.container.version>11.0.2</tomcat.container.version> |
| <tomcat.home>${project.build.directory}/apache-tomcat-${tomcat.container.version}</tomcat.home> |
| <tomcat.modules>${tomcat.home}/lib</tomcat.modules> |
| <jakarta.platform.version>10.0.0</jakarta.platform.version> |
| <junit.jupiter.version>5.7.2</junit.jupiter.version> |
| <jakarta.rest.version>4.0.0</jakarta.rest.version> |
| <tck.artifactId>jakarta-restful-ws-tck</tck.artifactId> |
| <tck.version>4.0.0</tck.version> |
| <hk2.version>4.0.0-M3</hk2.version> |
| <mimepull.version>1.9.15</mimepull.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.junit</groupId> |
| <artifactId>junit-bom</artifactId> |
| <version>${junit.jupiter.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey</groupId> |
| <artifactId>jersey-bom</artifactId> |
| <version>${jersey.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <repositories> |
| <repository> |
| <id>jakarta-snapshots</id> |
| <url>https://jakarta.oss.sonatype.org/content/repositories/staging/</url> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>${junit.jupiter.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| <version>${tomcat.container.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jasper</artifactId> |
| <version>${tomcat.container.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.arquillian.container</groupId> |
| <artifactId>arquillian-tomcat-managed-10</artifactId> |
| <version>1.2.2.Final</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| <version>3.0.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>${tck.artifactId}</artifactId> |
| <version>${tck.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-api</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <version>2.2</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.arquillian.junit5</groupId> |
| <artifactId>arquillian-junit5-container</artifactId> |
| <version>1.7.0.Alpha10</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.platform</groupId> |
| <artifactId>jakarta.jakartaee-api</artifactId> |
| <version>${jakarta.platform.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <version>3.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-server</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-grizzly2-http</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-binding</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-jaxb</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-sse</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-multipart</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.inject</groupId> |
| <artifactId>jersey-hk2</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-catalina</artifactId> |
| <version>${tomcat.container.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-osgi</artifactId> |
| <version>4.0.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.json</groupId> |
| <artifactId>jakarta.json-api</artifactId> |
| <version>2.1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.parsson</groupId> |
| <artifactId>parsson</artifactId> |
| <version>1.1.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.parsson</groupId> |
| <artifactId>parsson-media</artifactId> |
| <version>1.1.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.json.bind</groupId> |
| <artifactId>jakarta.json.bind-api</artifactId> |
| <version>3.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse</groupId> |
| <artifactId>yasson</artifactId> |
| <version>3.0.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.inject</groupId> |
| <artifactId>jakarta.inject-api</artifactId> |
| <version>2.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-api</artifactId> |
| <version>${hk2.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>jakarta.inject</groupId> |
| <artifactId>jakarta.inject-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-locator</artifactId> |
| <version>${hk2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-utils</artifactId> |
| <version>${hk2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jvnet.mimepull</groupId> |
| <artifactId>mimepull</artifactId> |
| <version>${mimepull.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.tck</groupId> |
| <artifactId>sigtest-maven-plugin</artifactId> |
| <version>2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.tools</groupId> |
| <artifactId>sigtest-maven-plugin</artifactId> |
| <version>1.7</version> |
| </dependency> |
| |
| </dependencies> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.2.0</version> |
| <executions> |
| <execution> |
| <id>unpack</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat</artifactId> |
| <version>${tomcat.container.version}</version> |
| <type>zip</type> |
| <overWrite>false</overWrite> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>jakarta.inject</groupId> |
| <artifactId>jakarta.inject-api</artifactId> |
| <version>2.0.1</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jakarta.inject-api.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>jakarta.json</groupId> |
| <artifactId>jakarta.json-api</artifactId> |
| <version>2.1.3</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jakarta.json-api.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>jakarta.xml.bind</groupId> |
| <artifactId>jakarta.xml.bind-api</artifactId> |
| <version>3.0.0</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jakarta.xml.bind-api.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>jakarta.activation</groupId> |
| <artifactId>jakarta.activation-api</artifactId> |
| <version>2.1.3</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jakarta.activation-api.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>jakarta.json.bind</groupId> |
| <artifactId>jakarta.json.bind-api</artifactId> |
| <version>3.0.0</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jakarta.json.bind-api.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>jakarta.validation</groupId> |
| <artifactId>jakarta.validation-api</artifactId> |
| <version>3.1.0-M1</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jakarta.validation-api.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-osgi</artifactId> |
| <version>3.0.0</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jaxb-osgi.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.parsson</groupId> |
| <artifactId>parsson</artifactId> |
| <version>1.1.5</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>parsson.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.parsson</groupId> |
| <artifactId>parsson-media</artifactId> |
| <version>1.1.5</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>parsson-media.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse</groupId> |
| <artifactId>yasson</artifactId> |
| <version>3.0.3</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>yasson.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.jvnet.mimepull</groupId> |
| <artifactId>mimepull</artifactId> |
| <version>${mimepull.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>mimepull.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.javassist</groupId> |
| <artifactId>javassist</artifactId> |
| <version>3.29.2-GA</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>javassist.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-api</artifactId> |
| <version>${hk2.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>hk2-api.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-utils</artifactId> |
| <version>${hk2.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>hk2-utils.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-locator</artifactId> |
| <version>${hk2.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>hk2-locator.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-client</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-client.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-server</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-server.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-common</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-common.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-grizzly2-http</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-container-grizzly2-http.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-grizzly2-servlet</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-container-grizzly2-servlet.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-servlet-core</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-container-servlet-core.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-servlet</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-container-servlet.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-sse</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-media-sse.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-binding</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-media-json-binding.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-multipart</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-media-multipart.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-processing</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-media-json-processing.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-jaxb</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-media-jaxb.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.glassfish.jersey.inject</groupId> |
| <artifactId>jersey-hk2</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jersey-hk2.jar</destFileName> |
| </artifactItem> |
| |
| <!-- <artifactItem>--> |
| <!-- <groupId>org.glassfish.jersey.ext.cdi</groupId>--> |
| <!-- <artifactId>jersey-cdi1x</artifactId>--> |
| <!-- <version>${jersey.version}</version>--> |
| <!-- <type>jar</type>--> |
| <!-- <overWrite>true</overWrite>--> |
| <!-- <outputDirectory>${tomcat.modules}</outputDirectory>--> |
| <!-- <destFileName>jersey-cdi1x.jar</destFileName>--> |
| <!-- </artifactItem>--> |
| <!-- <artifactItem>--> |
| <!-- <groupId>org.glassfish.jersey.ext.cdi</groupId>--> |
| <!-- <artifactId>jersey-cdi1x-servlet</artifactId>--> |
| <!-- <version>${jersey.version}</version>--> |
| <!-- <type>jar</type>--> |
| <!-- <overWrite>true</overWrite>--> |
| <!-- <outputDirectory>${tomcat.modules}</outputDirectory>--> |
| <!-- <destFileName>jersey-cdi1x-servlet.jar</destFileName>--> |
| <!-- </artifactItem>--> |
| <!-- <artifactItem>--> |
| <!-- <groupId>org.glassfish.jersey.ext.cdi</groupId>--> |
| <!-- <artifactId>jersey-cdi1x-transaction</artifactId>--> |
| <!-- <version>${jersey.version}</version>--> |
| <!-- <type>jar</type>--> |
| <!-- <overWrite>true</overWrite>--> |
| <!-- <outputDirectory>${tomcat.modules}</outputDirectory>--> |
| <!-- <destFileName>jersey-cdi1x-transaction.jar</destFileName>--> |
| <!-- </artifactItem>--> |
| <!-- <artifactItem>--> |
| <!-- <groupId>org.glassfish.jersey.ext</groupId>--> |
| <!-- <artifactId>jersey-bean-validation</artifactId>--> |
| <!-- <version>${jersey.version}</version>--> |
| <!-- <type>jar</type>--> |
| <!-- <overWrite>true</overWrite>--> |
| <!-- <outputDirectory>${tomcat.modules}</outputDirectory>--> |
| <!-- <destFileName>jersey-bean-validation.jar</destFileName>--> |
| <!-- </artifactItem>--> |
| <artifactItem> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-api</artifactId> |
| <version>${jakarta.rest.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jakarta.ws.rs-api.jar</destFileName> |
| </artifactItem> |
| |
| <artifactItem> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jasper</artifactId> |
| <version>${tomcat.container.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${tomcat.modules}</outputDirectory> |
| <destFileName>jasper.jar</destFileName> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <id>override-users</id> |
| <phase>pre-integration-test</phase> |
| <configuration> |
| <target> |
| <copy todir="${basedir}/target/apache-tomcat-${tomcat.container.version}/conf" overwrite="true"> |
| <fileset dir="${basedir}" includes="tomcat-users.xml"/> |
| </copy> |
| <copy todir="${basedir}/target/apache-tomcat-${tomcat.container.version}/conf" overwrite="true"> |
| <fileset dir="${basedir}" includes="server.xml"/> |
| </copy> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>3.0.0-M5</version> |
| <executions> |
| <execution> |
| <id>container-tests</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>**/SeBootstrapIT.java</exclude> |
| </excludes> |
| <!-- <includes>--> |
| <!-- <include>**/JAXRSSigTestIT.java</include>--> |
| <!--<!– <include>ee.jakarta.tck.ws.rs.spec.client.exceptions.ClientExceptionsIT.java</include>–>--> |
| <!-- </includes>--> |
| <skipTests>false</skipTests> <!-- Do not skip when the jersey-tck profile is on --> |
| <dependenciesToScan>jakarta.ws.rs:${tck.artifactId}</dependenciesToScan> |
| <systemPropertyVariables> |
| <servlet_adaptor>org.glassfish.jersey.servlet.ServletContainer</servlet_adaptor> |
| <webServerHost>localhost</webServerHost> |
| <webServerPort>8080</webServerPort> |
| <junit.log.traceflag>true</junit.log.traceflag> |
| <user>j2ee</user> |
| <password>j2ee</password> |
| <authuser>javajoe</authuser> |
| <authpassword>javajoe</authpassword> |
| <porting.ts.url.class.1>ee.jakarta.tck.ws.rs.lib.implementation.sun.common.SunRIURL</porting.ts.url.class.1> |
| <jimage.dir>${project.build.directory}/jdk11-bundle</jimage.dir> |
| <optional.tech.packages.to.ignore>jakarta.xml.bind</optional.tech.packages.to.ignore> |
| <signature.sigTestClasspath>${tomcat.modules}/jakarta.ws.rs-api.jar${path.separator}${tomcat.modules}/jakarta.xml.bind-api.jar${path.separator}${project.build.directory}/jdk11-bundle/java.base${path.separator}${project.build.directory}/jdk11-bundle/java.rmi${path.separator}${project.build.directory}/jdk11-bundle/java.sql${path.separator}${project.build.directory}/jdk11-bundle/java.naming</signature.sigTestClasspath> |
| </systemPropertyVariables> |
| <environmentVariables> |
| <CATALINA_HOME>${project.basedir}/target/apache-tomcat-${tomcat.container.version}</CATALINA_HOME> |
| </environmentVariables> |
| </configuration> |
| </execution> |
| <execution> |
| <id>se-tests</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <skipTests>false</skipTests> <!-- Do not skip when the jersey-tck profile is on --> |
| <includes> |
| <include>**/SeBootstrapIT.java</include> |
| </includes> |
| <dependenciesToScan>jakarta.ws.rs:${tck.artifactId}</dependenciesToScan> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>jersey-tck</id> |
| <properties> |
| <jersey.version>3.1.99-SNAPSHOT</jersey.version> <!-- When running the profile, use SNAPSHOT --> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |