META-INF.maven.jakarta.ws.rs.jakarta.ws.rs-api.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxrs-ri Show documentation
Show all versions of jaxrs-ri Show documentation
A bundle project producing JAX-RS RI bundles. The primary artifact is an "all-in-one" OSGi-fied JAX-RS RI bundle
(jaxrs-ri.jar).
Attached to that are two compressed JAX-RS RI archives. The first archive (jaxrs-ri.zip) consists of binary RI bits and
contains the API jar (under "api" directory), RI libraries (under "lib" directory) as well as all external
RI dependencies (under "ext" directory). The secondary archive (jaxrs-ri-src.zip) contains buildable JAX-RS RI source
bundle and contains the API jar (under "api" directory), RI sources (under "src" directory) as well as all external
RI dependencies (under "ext" directory). The second archive also contains "build.xml" ANT script that builds the RI
sources. To build the JAX-RS RI simply unzip the archive, cd to the created jaxrs-ri directory and invoke "ant" from
the command line.
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2011, 2020 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> <parent> <groupId>org.eclipse.ee4j</groupId> <artifactId>project</artifactId> <version>1.0.6</version> </parent> <groupId>jakarta.ws.rs</groupId> <artifactId>jakarta.ws.rs-api</artifactId> <version>3.0.0</version> <packaging>bundle</packaging> <name>jakarta.ws.rs-api</name> <description>Jakarta RESTful Web Services</description> <url>https://github.com/eclipse-ee4j/jaxrs-api</url> <organization> <name>Eclipse Foundation</name> <url>https://www.eclipse.org/org/foundation/</url> </organization> <developers> <developer> <id>developers</id> <name>JAX-RS API Developers</name> <email>[email protected]</email> <url>https://github.com/eclipse-ee4j/jaxrs-api/graphs/contributors</url> </developer> </developers> <issueManagement> <system>Github</system> <url>https://github.com/eclipse-ee4j/jaxrs-api/issues</url> </issueManagement> <mailingLists> <mailingList> <name>JAX-RS Developer Discussions</name> <archive>[email protected]</archive> </mailingList> </mailingLists> <licenses> <license> <name>EPL-2.0</name> <url>http://www.eclipse.org/legal/epl-2.0</url> <distribution>repo</distribution> </license> <license> <name>GPL-2.0-with-classpath-exception</name> <url>https://www.gnu.org/software/classpath/license.html</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:https://github.com/eclipse-ee4j/jaxrs-api</connection> <url>https://github.com/eclipse-ee4j/jaxrs-api</url> <tag>HEAD</tag> </scm> <profiles> <profile> <!-- Use it with release-perform goal to skip another test run. --> <id>skip-tests</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <skip.release.tests>true</skip.release.tests> </properties> </profile> <profile> <id>jdk11+</id> <activation> <jdk>[11,)</jdk> </activation> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <executions> <execution> <id>default-compile</id> <configuration> <!-- compile everything to ensure module-info contains right entries --> <source>9</source> <target>9</target> </configuration> </execution> <execution> <id>base-compile</id> <goals> <goal>compile</goal> </goals> <!-- recompile everything for target VM except the module-info.java --> <configuration> <excludes> <exclude>module-info.java</exclude> </excludes> <source>${java.version}</source> <target>${java.version}</target> </configuration> </execution> </executions> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>--add-modules jakarta.xml.bind</argLine> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>jdk9-jdk10</id> <activation> <jdk>[9,11)</jdk> </activation> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <executions> <execution> <id>default-compile</id> <configuration> <!-- compile everything to ensure module-info contains right entries --> <release>9</release> </configuration> </execution> <execution> <id>base-compile</id> <goals> <goal>compile</goal> </goals> <!-- recompile everything for target VM except the module-info.java --> <configuration> <excludes> <exclude>module-info.java</exclude> </excludes> <source>${java.version}</source> <target>${java.version}</target> </configuration> </execution> </executions> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>--add-modules jakarta.xml.bind</argLine> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>jdk8-</id> <activation> <jdk>(,9)</jdk> </activation> <build> <plugins> <plugin> <!-- TODO: overriding paren pom (profile jvnet-release) - we should find nicer way --> <!-- 1.8- javadoc cannot handle module-info --> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <configuration combine.self="override"> <doctitle>${apidocs.title}</doctitle> <bottom> <![CDATA[<p align="left">Copyright © 2018, 2020 Eclipse Foundation.<br>Use is subject to <a href="{@docRoot}/resources/EFSL.html" target="_top">license terms</a>.]]> </bottom> <docfilessubdirs>true</docfilessubdirs> <!--javaApiLinks> <property> <name>api_1.3</name> <value>http://download.oracle.com/javase/1.3/docs/api/</value> </property> <property> <name>api_1.4</name> <value>http://download.oracle.com/javase/1.4.2/docs/api/</value> </property> <property> <name>api_1.5</name> <value>http://download.oracle.com/javase/1.5.0/docs/api/</value> </property> <property> <name>api_1.6</name> <value>http://download.oracle.com/javase/6/docs/api/</value> </property> </javaApiLinks--> <sourceFileExcludes> <fileExclude>module-info.java</fileExclude> </sourceFileExcludes> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.plugin.version}</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> <excludes> <exclude>module-info.java</exclude> </excludes> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> <build> <finalName>${project.artifactId}</finalName> <pluginManagement> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <!-- This plugin generates the buildNumber property used in maven-bundle-plugin --> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>1.4</version> <configuration> <format>{0,date,MM/dd/yyyy hh:mm aa}</format> <items> <item>timestamp</item> </items> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>${maven.bundle.plugin.version}</version> <extensions>true</extensions> <configuration> <instructions> <_failok>true</_failok> <Build-Id>${buildNumber}</Build-Id> <Bundle-Description>Jakarta RESTful Web Services API (JAX-RS)</Bundle-Description> <Bundle-Version>${project.version}</Bundle-Version> <Bundle-SymbolicName>jakarta.ws.rs-api</Bundle-SymbolicName> <DynamicImport-Package>*</DynamicImport-Package> <Extension-Name>${api.package}</Extension-Name> <Implementation-Version>${project.version}</Implementation-Version> <Specification-Version>${spec.version}</Specification-Version> <Specification-Vendor>Eclipse Foundation</Specification-Vendor> <specversion>${spec.version}</specversion> <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> <_nodefaultversion>false</_nodefaultversion> <Require-Capability>osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"</Require-Capability> </instructions> </configuration> <executions> <execution> <id>osgi-bundle</id> <phase>package</phase> <goals> <goal>bundle</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven.javadoc.plugin.version}</version> <configuration> <source>8</source> <doctitle>${apidocs.title}</doctitle> <docfilessubdirs>true</docfilessubdirs> <bottom> <![CDATA[<p align="left">Copyright © 2018, 2020 Eclipse Foundation.<br>Use is subject to <a href="{@docRoot}/resources/EFSL.html" target="_top">license terms</a>.]]> </bottom> <docfilessubdirs>true</docfilessubdirs> <!--javaApiLinks> <property> <name>api_1.3</name> <value>http://download.oracle.com/javase/1.3/docs/api/</value> </property> <property> <name>api_1.4</name> <value>http://download.oracle.com/javase/1.4.2/docs/api/</value> </property> <property> <name>api_1.5</name> <value>http://download.oracle.com/javase/1.5.0/docs/api/</value> </property> <property> <name>api_1.6</name> <value>http://download.oracle.com/javase/6/docs/api/</value> </property> </javaApiLinks--> <sourceFileExcludes> <fileExclude>module-info.java</fileExclude> </sourceFileExcludes> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- Adding files to jar--> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>add-legal-resource</id> <phase>generate-resources</phase> <goals> <goal>add-resource</goal> </goals> <configuration> <resources> <resource> <directory>${legal.doc.folder}</directory> <includes> <include>NOTICE.md</include> <include>LICENSE.md</include> </includes> <targetPath>META-INF</targetPath> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> <version>2.5</version> <executions> <execution> <goals> <goal>jxr</goal> </goals> <phase>validate</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.0.0</version> <configuration> <outputDirectory>${project.build.directory}/checkstyle</outputDirectory> <outputFile>${project.build.directory}/checkstyle/checkstyle-result.xml</outputFile> <configLocation>${basedir}/../etc/config/checkstyle.xml</configLocation> <excludes>**/module-info.java</excludes> </configuration> <executions> <execution> <goals> <goal>checkstyle</goal> </goals> <phase>validate</phase> </execution> </executions> </plugin> <plugin> <groupId>org.glassfish.copyright</groupId> <artifactId>glassfish-copyright-maven-plugin</artifactId> <version>1.39</version> <configuration> <excludeFile>${basedir}/../etc/config/copyright-exclude</excludeFile> <!--svn|mercurial|git - defaults to svn--> <scm>git</scm> <!-- turn on/off debugging --> <debug>false</debug> <!-- skip files not under SCM--> <scmOnly>true</scmOnly> <!-- turn off warnings --> <warn>true</warn> <!-- for use with repair --> <update>false</update> <!-- check that year is correct --> <ignoreYear>false</ignoreYear> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>org.glassfish.copyright</groupId> <artifactId>glassfish-copyright-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>${jaxb.api.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>jakarta.activation</groupId> <artifactId>jakarta.activation-api</artifactId> <version>${activation.api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>${jaxb.impl.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>3.1.0</version> <scope>test</scope> </dependency> </dependencies> <properties> <apidocs.title>Jakarta RESTful Web Services ${spec.version} API Specification ${spec.version.revision}</apidocs.title> <java.version>1.8</java.version> <maven.bundle.plugin.version>3.5.0</maven.bundle.plugin.version> <maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version> <maven.javadoc.plugin.version>3.1.0</maven.javadoc.plugin.version> <api.package>jakarta.ws.rs</api.package> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <skip.release.tests>false</skip.release.tests> <spec.version>3.0</spec.version> <spec.version.revision /> <!-- e.g. (Rev a) --> <jaxb.api.version>3.0.0</jaxb.api.version> <jaxb.impl.version>3.0.0-M4</jaxb.impl.version> <activation.api.version>2.0.0</activation.api.version> <legal.doc.folder>${project.basedir}/..</legal.doc.folder> </properties> </project>