| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2011, 2018 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.5</version> |
| </parent> |
| |
| <prerequisites> |
| <maven>3.3.1</maven> |
| </prerequisites> |
| |
| <groupId>org.glassfish</groupId> |
| <artifactId>json</artifactId> |
| <packaging>pom</packaging> |
| <version>1.1.6-SNAPSHOT</version> |
| <name>JSR 374 (JSON Processing) RI</name> |
| <description>JSR 374:Java API for Processing JSON RI</description> |
| <url>https://javaee.github.io/jsonp</url> |
| |
| <scm> |
| <connection>scm:git:git://github.com/eclipse-ee4j/jsonp.git</connection> |
| <developerConnection>scm:git:git@github.com:eclipse-ee4j/jsonp.git</developerConnection> |
| <url>https://github.com/eclipse-ee4j/jsonp</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <licenses> |
| <license> |
| <name>Eclipse Public License 2.0</name> |
| <url>https://projects.eclipse.org/license/epl-2.0</url> |
| <distribution>repo</distribution> |
| </license> |
| <license> |
| <name>GNU General Public License, version 2 with the GNU Classpath Exception</name> |
| <url>https://projects.eclipse.org/license/secondary-gpl-2.0-cp</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <developers> |
| <developer> |
| <id>lukasj</id> |
| <name>Lukas Jungmann</name> |
| <organization>Oracle</organization> |
| <roles> |
| <role>lead</role> |
| </roles> |
| </developer> |
| </developers> |
| |
| <properties> |
| <api_package>jakarta.json</api_package> |
| <impl_namespace>org.glassfish</impl_namespace> |
| <spec_version>1.1</spec_version> |
| <new_spec_version>1.2</new_spec_version> |
| <new_spec_impl_version>1.1.5</new_spec_impl_version> |
| <impl_version>1.1.5</impl_version> |
| <new_impl_version>1.2</new_impl_version> |
| <non.final>false</non.final> |
| <legal.doc.source>${maven.multiModuleProjectDirectory}</legal.doc.source> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.copyright</groupId> |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> |
| <configuration> |
| <templateFile>copyright.txt</templateFile> |
| <excludeFile>copyright-exclude</excludeFile> |
| <scm>git</scm> |
| <scmOnly>true</scmOnly> |
| <warn>false</warn> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>add-legal-resource</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>add-resource</goal> |
| </goals> |
| <configuration> |
| <resources> |
| <resource> |
| <directory>${legal.doc.source}</directory> |
| <includes> |
| <include>NOTICE.md</include> |
| <include>LICENSE.md</include> |
| </includes> |
| <targetPath>META-INF</targetPath> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <mavenExecutorId>forked-path</mavenExecutorId> |
| <useReleaseProfile>false</useReleaseProfile> |
| <arguments>${release.arguments}</arguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.glassfish.build</groupId> |
| <artifactId>spec-version-maven-plugin</artifactId> |
| <version>1.5</version> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.copyright</groupId> |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> |
| <version>1.49</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>3.5.0</version> |
| <configuration> |
| <instructions> |
| <_noee>true</_noee> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>3.0.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.0.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.7.0</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| <compilerArgs> |
| <arg>-Xlint:all</arg> |
| </compilerArgs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>3.2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>wagon-maven-plugin</artifactId> |
| <version>2.0.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>3.1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.8.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>2.5.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.7.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.6.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.5.3</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-provider-gitexe</artifactId> |
| <version>1.9.5</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-api</artifactId> |
| <version>2.1.2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.annotation</groupId> |
| <artifactId>jakarta.annotation-api</artifactId> |
| <version>1.3.4</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.servlet</groupId> |
| <artifactId>jakarta.servlet-api</artifactId> |
| <version>4.0.2</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.json</groupId> |
| <artifactId>jakarta.json-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>jakarta.json</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>jakarta.json</artifactId> |
| <classifier>module</classifier> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>jsonp-jaxrs</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>jsr311-api</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <profiles> |
| <profile> |
| <id>release</id> |
| <modules> |
| <module>api</module> |
| <module>impl</module> |
| <module>jaxrs</module> |
| </modules> |
| </profile> |
| |
| <profile> |
| <id>jdk9-setup</id> |
| <activation> |
| <jdk>[9,)</jdk> |
| </activation> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <release>8</release> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-compile</id> |
| <configuration> |
| <release>9</release> |
| <source>9</source> |
| <target>9</target> |
| </configuration> |
| </execution> |
| <execution> |
| <id>base-compile</id> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>module-info.java</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>add-jdk9-source</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>src/main/jdk9</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>jdk9-all</id> |
| <activation> |
| <jdk>[9,)</jdk> |
| </activation> |
| <modules> |
| <module>api</module> |
| <module>impl</module> |
| <module>jaxrs</module> |
| <module>jaxrs-1x</module> |
| <module>tests</module> |
| <module>gf</module> |
| <module>demos</module> |
| <module>bundles</module> |
| </modules> |
| </profile> |
| |
| <profile> |
| <id>all</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <modules> |
| <module>api</module> |
| <module>impl</module> |
| <module>jaxrs</module> |
| <module>jaxrs-1x</module> |
| <module>tests</module> |
| <module>gf</module> |
| <module>demos</module> |
| <module>bundles</module> |
| </modules> |
| </profile> |
| </profiles> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>3.0.5</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |