| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (c) 2026 Contributors to the Eclipse Foundation | |
| 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>2.0.6</version> | |
| <relativePath/> | |
| </parent> | |
| <groupId>jakarta.json</groupId> | |
| <artifactId>jakarta.json-parent</artifactId> | |
| <version>2.2.0-SNAPSHOT</version> | |
| <packaging>pom</packaging> | |
| <name>Jakarta JSON Processing Parent</name> | |
| <description>Parent project aggregating the Jakarta JSON Processing API, specification, and TCK.</description> | |
| <url>https://github.com/eclipse-ee4j/jsonp</url> | |
| <modules> | |
| <module>api</module> | |
| <module>spec</module> | |
| <module>tck</module> | |
| <module>tck-dist</module> | |
| </modules> | |
| <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> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <!-- Required by org.eclipse.ee4j:project parent POM for Nexus staging deployment --> | |
| <nexus.staging.repository>jsonp-maven2-staging</nexus.staging.repository> | |
| <maven.compiler.release>17</maven.compiler.release> | |
| <site.output.dir>${project.build.directory}/staging</site.output.dir> | |
| <maven.site.skip>true</maven.site.skip> | |
| <maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format> | |
| <revisiondate>${maven.build.timestamp}</revisiondate> | |
| <!-- Compatible Implementation (CI) used by the TCK run poms and referenced in the TCK guide --> | |
| <jsonp-impl.version>1.1.9</jsonp-impl.version> | |
| <!-- Dependency versions --> | |
| <junit.jupiter.version>6.1.3</junit.jupiter.version> | |
| <sigtest.version>2.7</sigtest.version> | |
| <!-- Plugin versions --> | |
| <buildnumber.maven.plugin.version>3.4.0</buildnumber.maven.plugin.version> | |
| <build.helper.maven.plugin.version>3.8.0</build.helper.maven.plugin.version> | |
| <glassfish.copyright.maven.plugin.version>2.4</glassfish.copyright.maven.plugin.version> | |
| <maven.compiler.plugin.version>3.16.0</maven.compiler.plugin.version> | |
| <maven.bundle.plugin.version>6.2.0</maven.bundle.plugin.version> | |
| <maven.jar.plugin.version>3.5.1</maven.jar.plugin.version> | |
| <maven.source.plugin.version>3.4.0</maven.source.plugin.version> | |
| <maven.javadoc.plugin.version>3.12.0</maven.javadoc.plugin.version> | |
| <maven.enforcer.plugin.version>3.7.0</maven.enforcer.plugin.version> | |
| <spotbugs.version>4.10.5.0</spotbugs.version> | |
| <asciidoctor.maven.plugin.version>3.2.0</asciidoctor.maven.plugin.version> | |
| <asciidoctorj.pdf.version>2.3.27</asciidoctorj.pdf.version> | |
| <maven.release.plugin.version>3.3.1</maven.release.plugin.version> | |
| <maven.scm.provider.gitexe.version>2.2.1</maven.scm.provider.gitexe.version> | |
| <maven.assembly.plugin.version>3.8.0</maven.assembly.plugin.version> | |
| <maven.antrun.plugin.version>3.2.0</maven.antrun.plugin.version> | |
| <exec.maven.plugin.version>3.7.0</exec.maven.plugin.version> | |
| <maven.dependency.plugin.version>3.11.0</maven.dependency.plugin.version> | |
| <maven.surefire.plugin.version>3.6.1</maven.surefire.plugin.version> | |
| </properties> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.asciidoctor</groupId> | |
| <artifactId>asciidoctorj-pdf</artifactId> | |
| <version>${asciidoctorj.pdf.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.maven.scm</groupId> | |
| <artifactId>maven-scm-provider-gitexe</artifactId> | |
| <version>${maven.scm.provider.gitexe.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <build> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>buildnumber-maven-plugin</artifactId> | |
| <version>${buildnumber.maven.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>${build.helper.maven.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.glassfish.copyright</groupId> | |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> | |
| <version>${glassfish.copyright.maven.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>${maven.compiler.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <version>${maven.bundle.plugin.version}</version> | |
| <configuration> | |
| <instructions> | |
| <_noextraheaders>true</_noextraheaders> | |
| </instructions> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <version>${maven.jar.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <version>${maven.source.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>${maven.javadoc.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>${maven.enforcer.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>com.github.spotbugs</groupId> | |
| <artifactId>spotbugs-maven-plugin</artifactId> | |
| <version>${spotbugs.version}</version> | |
| <configuration> | |
| <skip>${spotbugs.skip}</skip> | |
| <threshold>${spotbugs.threshold}</threshold> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.asciidoctor</groupId> | |
| <artifactId>asciidoctor-maven-plugin</artifactId> | |
| <version>${asciidoctor.maven.plugin.version}</version> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.asciidoctor</groupId> | |
| <artifactId>asciidoctorj-pdf</artifactId> | |
| <version>${asciidoctorj.pdf.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-release-plugin</artifactId> | |
| <version>${maven.release.plugin.version}</version> | |
| <configuration> | |
| <mavenExecutorId>forked-path</mavenExecutorId> | |
| <useReleaseProfile>false</useReleaseProfile> | |
| <arguments>${release.arguments}</arguments> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.maven.scm</groupId> | |
| <artifactId>maven-scm-provider-gitexe</artifactId> | |
| <version>${maven.scm.provider.gitexe.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <version>${maven.assembly.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <version>${maven.dependency.plugin.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>${maven.surefire.plugin.version}</version> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| <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>[17,)</version> | |
| </requireJavaVersion> | |
| <requireMavenVersion> | |
| <version>[3.9.0,)</version> | |
| </requireMavenVersion> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- Parse the version number to determine the spec version, minor version, and document mark (DRAFT/FINAL) --> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <executions> | |
| <!-- 1. Parse spec.version (Takes the first two parts, e.g., 3.0 from 3.0.0-SNAPSHOT) --> | |
| <execution> | |
| <id>parse-spec-version</id> | |
| <goals> | |
| <goal>regex-property</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| <configuration> | |
| <name>spec.version</name> | |
| <value>${project.version}</value> | |
| <!-- Matches major.minor and captures it --> | |
| <regex>^([0-9]+\.[0-9]+)\..*</regex> | |
| <replacement>$1</replacement> | |
| <failIfNoMatch>true</failIfNoMatch> | |
| </configuration> | |
| </execution> | |
| <!-- 2. Parse bundle.version (Takes the first three parts, e.g., 3.0.1 from 3.0.1-M1) --> | |
| <execution> | |
| <id>parse-bundle-version</id> | |
| <goals> | |
| <goal>regex-property</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| <configuration> | |
| <name>bundle.version</name> | |
| <value>${project.version}</value> | |
| <!-- Matches major.minor.micro and captures it --> | |
| <regex>^([0-9]+\.[0-9]+\.[0-9]+).*</regex> | |
| <replacement>$1</replacement> | |
| <failIfNoMatch>true</failIfNoMatch> | |
| </configuration> | |
| </execution> | |
| <!-- 3. Parse doc.mark for DRAFT versions (-SNAPSHOT, -M*, -RC*) --> | |
| <execution> | |
| <id>parse-doc-mark-draft</id> | |
| <goals> | |
| <goal>regex-property</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| <configuration> | |
| <name>doc.mark</name> | |
| <value>${project.version}</value> | |
| <!-- Matches if version contains -SNAPSHOT, -M, or -RC --> | |
| <regex>.*-(SNAPSHOT|M[0-9]+|RC[0-9]+).*</regex> | |
| <replacement>DRAFT</replacement> | |
| <failIfNoMatch>false</failIfNoMatch> | |
| </configuration> | |
| </execution> | |
| <!-- 4. Parse doc.mark for FINAL versions (Fallback if no DRAFT suffix matches) --> | |
| <execution> | |
| <id>parse-doc-mark-final</id> | |
| <goals> | |
| <goal>regex-property</goal> | |
| </goals> | |
| <phase>validate</phase> | |
| <configuration> | |
| <name>doc.mark</name> | |
| <value>${doc.mark}</value> | |
| <regex>^(?!DRAFT$).*$</regex> | |
| <replacement>FINAL</replacement> | |
| <failIfNoMatch>false</failIfNoMatch> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |