| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (c) 2011, 2021 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>org.glassfish</groupId> | |
| <artifactId>json</artifactId> | |
| <packaging>pom</packaging> | |
| <version>2.0.1-SNAPSHOT</version> | |
| <name>Jakarta JSON Processing</name> | |
| <description>Jakarta JSON Processing defines a Java(R) based framework for parsing, generating, transforming, and querying JSON documents.</description> | |
| <url>https://github.com/eclipse-ee4j/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>m0mus</id> | |
| <name>Dmitry Kornilov</name> | |
| <organization>Oracle</organization> | |
| <roles> | |
| <role>project lead</role> | |
| </roles> | |
| </developer> | |
| <developer> | |
| <id>lukasj</id> | |
| <name>Lukas Jungmann</name> | |
| <organization>Oracle</organization> | |
| <roles> | |
| <role>dev lead</role> | |
| </roles> | |
| </developer> | |
| </developers> | |
| <properties> | |
| <api_package>jakarta.json</api_package> | |
| <impl_namespace>org.glassfish</impl_namespace> | |
| <spec_version>2.0</spec_version> | |
| <new_spec_version>2.1</new_spec_version> | |
| <new_spec_impl_version>2.1.0</new_spec_impl_version> | |
| <impl_version>${project.version}</impl_version> | |
| <new_impl_version>2.1.0</new_impl_version> | |
| <non.final>false</non.final> | |
| <legal.doc.source>${maven.multiModuleProjectDirectory}</legal.doc.source> | |
| <config.dir>${project.root.location}/etc/config</config.dir> | |
| <copyright.exclude>${config.dir}/copyright-exclude</copyright.exclude> | |
| <copyright.templatefile>${config.dir}/copyright.txt</copyright.templatefile> | |
| <copyright.ignoreyear>false</copyright.ignoreyear> | |
| <copyright.scmonly>true</copyright.scmonly> | |
| <copyright.update>false</copyright.update> | |
| <spotbugs.exclude>${config.dir}/exclude.xml</spotbugs.exclude> | |
| <spotbugs.skip>false</spotbugs.skip> | |
| <spotbugs.threshold>Low</spotbugs.threshold> | |
| <spotbugs.version>4.2.2</spotbugs.version> | |
| <jakarta.json-api.version>2.0.0</jakarta.json-api.version> | |
| <jakarta.annotation-api.version>2.0.0</jakarta.annotation-api.version> | |
| <jakarta.xml.bind-api.version>3.0.1</jakarta.xml.bind-api.version> | |
| <jakarta.ws.rs-api.version>3.0.0</jakarta.ws.rs-api.version> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>enforce-maven</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireJavaVersion> | |
| <version>[11,)</version> | |
| </requireJavaVersion> | |
| <requireMavenVersion> | |
| <version>[3.6.0,)</version> | |
| </requireMavenVersion> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.commonjava.maven.plugins</groupId> | |
| <artifactId>directory-maven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>find-project-root</id> | |
| <phase>validate</phase> | |
| <goals> | |
| <goal>highest-basedir</goal> | |
| </goals> | |
| <configuration> | |
| <property>project.root.location</property> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <release>9</release> | |
| <compilerArgs> | |
| <arg>-Xlint:all</arg> | |
| </compilerArgs> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>base-compile</id> | |
| <goals> | |
| <goal>compile</goal> | |
| </goals> | |
| <configuration> | |
| <release>8</release> | |
| <excludes> | |
| <exclude>module-info.java</exclude> | |
| </excludes> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- Requires validate target to initialize copyright.config.dir properly --> | |
| <!-- e.g. mvn validate glassfish-copyright:repair --> | |
| <plugin> | |
| <groupId>org.glassfish.copyright</groupId> | |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> | |
| <configuration> | |
| <templateFile>${copyright.templatefile}</templateFile> | |
| <excludeFile>${copyright.exclude}</excludeFile> | |
| <!-- skip files not under SCM--> | |
| <scmOnly>${copyright.scmonly}</scmOnly> | |
| <!-- for use with repair --> | |
| <update>${copyright.update}</update> | |
| <!-- check that year is correct --> | |
| <ignoreYear>${copyright.ignoreyear}</ignoreYear> | |
| <quiet>false</quiet> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>check</goal> | |
| </goals> | |
| <phase>verify</phase> | |
| </execution> | |
| </executions> | |
| </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> | |
| <configuration> | |
| <archive> | |
| <manifest> | |
| <addDefaultEntries>false</addDefaultEntries> | |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> | |
| </manifest> | |
| </archive> | |
| </configuration> | |
| </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.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>3.0.0-M3</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.commonjava.maven.plugins</groupId> | |
| <artifactId>directory-maven-plugin</artifactId> | |
| <version>0.3.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>com.github.spotbugs</groupId> | |
| <artifactId>spotbugs-maven-plugin</artifactId> | |
| <version>${spotbugs.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.glassfish.build</groupId> | |
| <artifactId>spec-version-maven-plugin</artifactId> | |
| <version>2.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.glassfish.copyright</groupId> | |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> | |
| <version>2.4</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <version>5.1.1</version> | |
| <configuration> | |
| <instructions> | |
| <_noextraheaders>true</_noextraheaders> | |
| </instructions> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>3.2.0</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>3.2.0</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <version>3.2.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.8.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <version>3.2.0</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <version>3.1.2</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-resources-plugin</artifactId> | |
| <version>3.2.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-site-plugin</artifactId> | |
| <version>3.9.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>3.0.0-M5</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <version>3.3.0</version> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>jakarta.ws.rs</groupId> | |
| <artifactId>jakarta.ws.rs-api</artifactId> | |
| <version>${jakarta.ws.rs-api.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.annotation</groupId> | |
| <artifactId>jakarta.annotation-api</artifactId> | |
| <version>${jakarta.annotation-api.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.json</groupId> | |
| <artifactId>jakarta.json-api</artifactId> | |
| <version>${jakarta.json-api.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>jakarta.xml.bind</groupId> | |
| <artifactId>jakarta.xml.bind-api</artifactId> | |
| <version>${jakarta.xml.bind-api.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>4.13.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hamcrest</groupId> | |
| <artifactId>hamcrest-core</artifactId> | |
| <version>1.3</version> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <modules> | |
| <module>impl</module> | |
| <module>jaxrs</module> | |
| <module>bundles</module> | |
| </modules> | |
| <profiles> | |
| <profile> | |
| <id>all</id> | |
| <dependencyManagement> | |
| <!-- dependencies used by demo projects only --> | |
| <dependencies> | |
| <dependency> | |
| <groupId>jakarta.servlet</groupId> | |
| <artifactId>jakarta.servlet-api</artifactId> | |
| <version>5.0.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.sun.xml.bind</groupId> | |
| <artifactId>jaxb-impl</artifactId> | |
| <version>3.0.0</version> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <modules> | |
| <module>gf</module> | |
| <module>demos</module> | |
| </modules> | |
| <build> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <version>3.3.1</version> | |
| <configuration> | |
| <failOnMissingWebXml>false</failOnMissingWebXml> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>wagon-maven-plugin</artifactId> | |
| <version>2.0.2</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>exec-maven-plugin</artifactId> | |
| <version>3.0.0</version> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| </profile> | |
| </profiles> | |
| <reporting> | |
| <plugins> | |
| <plugin> | |
| <groupId>com.github.spotbugs</groupId> | |
| <artifactId>spotbugs-maven-plugin</artifactId> | |
| <configuration> | |
| <skip>${spotbugs.skip}</skip> | |
| <threshold>${spotbugs.threshold}</threshold> | |
| <findbugsXmlWithMessages>true</findbugsXmlWithMessages> | |
| <excludeFilterFile> | |
| ${spotbugs.exclude} | |
| </excludeFilterFile> | |
| <fork>true</fork> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </reporting> | |
| </project> |