| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| |
| Copyright (c) 2020, 2024 Markus Karg. 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> |
| |
| <artifactId>jakarta-restful-ws-tck</artifactId> |
| <name>Jakarta RESTful WS TCK</name> |
| <description>Technology Compatibility Kit for Jakarta RESTful Web Services</description> |
| <url>https://github.com/jakartaee/rest</url> |
| <version>4.0.0-SNAPSHOT</version> |
| |
| <parent> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>all</artifactId> |
| <version>4.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <properties> |
| <json.api.version>2.0.1</json.api.version> |
| <json.bind.api.version>2.0.0</json.bind.api.version> |
| <xml.bind.api.version>4.0.0</xml.bind.api.version> |
| <servlet.api.version>6.0.0</servlet.api.version> |
| <common.httpclient.version>3.1</common.httpclient.version> |
| <arquillian.version>1.8.0.Final</arquillian.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.json.bind</groupId> |
| <artifactId>jakarta.json.bind-api</artifactId> |
| <version>${json.bind.api.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.json</groupId> |
| <artifactId>jakarta.json-api</artifactId> |
| <version>${json.api.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <version>${common.httpclient.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.arquillian.junit5</groupId> |
| <artifactId>arquillian-junit5-container</artifactId> |
| <version>${arquillian.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.annotation</groupId> |
| <artifactId>jakarta.annotation-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.xml.bind</groupId> |
| <artifactId>jakarta.xml.bind-api</artifactId> |
| <version>${xml.bind.api.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.activation</groupId> |
| <artifactId>jakarta.activation-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>jakarta.servlet</groupId> |
| <artifactId>jakarta.servlet-api</artifactId> |
| <version>${servlet.api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Test Dependencies --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <finalName>${bundle-name}-${project.version}</finalName> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>LICENSE_${license}.md</include> |
| <include>ee/</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.3.0</version> |
| <executions> |
| <execution> |
| <id>distribution</id> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/assembly.xml</descriptor> |
| </descriptors> |
| <escapeString>\</escapeString> |
| <appendAssemblyId>false</appendAssemblyId> |
| <finalName>${bundle-name}-${project.version}</finalName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <release>17</release> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>EFTL</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <bundle-name>jakarta-restful-ws-tck</bundle-name> |
| <license>EFTL</license> |
| </properties> |
| </profile> |
| <profile> |
| <id>EPL</id> |
| <properties> |
| <bundle-name>restful-ws-tck</bundle-name> |
| <license>EPL</license> |
| </properties> |
| </profile> |
| <profile> |
| <id>record-signature</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>jakarta.tck</groupId> |
| <artifactId>sigtest-maven-plugin</artifactId> |
| <version>2.2</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <sigfile>${project.build.directory}/jakarta.ws.rs.sig_${project.parent.version}</sigfile> |
| <packages> |
| jakarta.ws.rs, |
| jakarta.ws.rs.client, |
| jakarta.ws.rs.core, |
| jakarta.ws.rs.container, |
| jakarta.ws.rs.ext, |
| jakarta.ws.rs.sse |
| </packages> |
| <attach>false</attach> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| |
| </project> |