| <?xml version="1.0" encoding="UTF-8" ?> |
| <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>3.1-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Jakarta REST Compliance</name> |
| <description>This test verifies the compliance of Eclipse Jersey with Jakarta REST</description> |
| |
| <properties> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <jersey.version>3.0.0</jersey.version> |
| <glassfish.container.version>6.0.0</glassfish.container.version> |
| <jakarta.platform.version>9.0.0</jakarta.platform.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!--dependency> |
| <groupId>org.glassfish.jersey</groupId> |
| <artifactId>jersey-bom</artifactId> |
| <version>3.0.0</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency--> |
| |
| <dependency> |
| <groupId>org.junit</groupId> |
| <artifactId>junit-bom</artifactId> |
| <version>5.7.0</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-tck</artifactId> |
| <version>3.1-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>5.7.0</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.glassfish.jersey.core</groupId> |
| <artifactId>jersey-server</artifactId> |
| <version>${jersey.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-client</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-json-binding</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.containers</groupId> |
| <artifactId>jersey-container-servlet</artifactId> |
| <version>${jersey.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.common</groupId> |
| <artifactId>simple-glassfish-api</artifactId> |
| <version>${glassfish.container.version}</version> |
| </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> |
| </dependencies> |
| |
| |
| <profiles> |
| <profile> |
| <id>arq-glassfish-managed</id> |
| </profile> |
| </profiles> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>3.0.0-M5</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <dependenciesToScan>jakarta.ws.rs:jakarta.ws.rs-tck</dependenciesToScan> |
| <includes> |
| <include>**/tck/**/*IT</include> |
| </includes> |
| <systemPropertyVariables> |
| <GLASSFISH_HOME>${project.build.directory}/glassfish6</GLASSFISH_HOME> |
| <servlet_adaptor>org.glassfish.jersey.servlet.ServletContainer</servlet_adaptor> |
| <webServerHost>localhost</webServerHost> |
| <webServerPort>8080</webServerPort> |
| </systemPropertyVariables> |
| <environmentVariables> |
| <GLASSFISH_HOME>${project.build.directory}/glassfish6</GLASSFISH_HOME> |
| </environmentVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| |
| <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.glassfish.main.distributions</groupId> |
| <artifactId>glassfish</artifactId> |
| <version>${glassfish.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>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-client</artifactId> |
| <version>${jersey.version}</version> |
| <type>jar</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/glassfish6/glassfish/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>${project.build.directory}/glassfish6/glassfish/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>${project.build.directory}/glassfish6/glassfish/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>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory> |
| <destFileName>jersey-container-grizzly2-http.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>${project.build.directory}/glassfish6/glassfish/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>${project.build.directory}/glassfish6/glassfish/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>${project.build.directory}/glassfish6/glassfish/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>${project.build.directory}/glassfish6/glassfish/modules</outputDirectory> |
| <destFileName>jersey-media-json-binding.jar</destFileName> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| |
| </executions> |
| </plugin> |
| |
| |
| </plugins> |
| </build> |
| </project> |