json-unit-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>net.javacrumbs.json-unit</groupId>
<artifactId>json-unit-parent</artifactId>
<version>5.1.0</version>
</dependency><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>
<groupId>net.javacrumbs.json-unit</groupId>
<artifactId>json-unit-parent</artifactId>
<version>5.1.0</version>
<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/lukas-krecan/JsonUnit</url>
<properties>
<jackson2.version>2.20.1</jackson2.version>
<jackson3.version>3.0.2</jackson3.version>
<moshi.version>1.15.2</moshi.version>
<gson.version>2.13.2</gson.version>
<hamcrest.version>3.0</hamcrest.version>
<johnzon.version>2.0.2</johnzon.version>
<geronimo.jsonp.version>1.5</geronimo.jsonp.version>
<jsonorg.version>20250517</jsonorg.version>
<slf4j.version>2.0.17</slf4j.version>
<assertj.version>3.27.6</assertj.version>
<target.java.version>17</target.java.version>
<junit-jupiter.version>6.0.1</junit-jupiter.version>
<json-path.version>2.10.0</json-path.version>
<opentest4j.version>1.3.0</opentest4j.version>
<kotlin.version>2.2.21</kotlin.version>
<bnd.version>7.1.0</bnd.version>
<symbolic.name>${project.groupId}.${project.artifactId}</symbolic.name>
<osgi.importPackage>!kotlin.*,*</osgi.importPackage>
<osgi.exportPackage />
<osgi.includeResource />
</properties>
<packaging>pom</packaging>
<description>Unit testing library that can decide if to JSON documents are equal. Strongly inspired by XmlUnit.</description>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<developers>
<developer>
<id>lukas</id>
<name>Lukas Krecan</name>
<email>lukas@krecan.net</email>
</developer>
</developers>
<modules>
<module>json-unit-core</module>
<module>json-unit</module>
<module>json-unit-json-path</module>
<module>json-unit-assertj</module>
<module>json-unit-spring</module>
<module>json-unit-kotest</module>
<module>json-unit-bom</module>
<module>tests</module>
</modules>
<dependencies>
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.21</version>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<!-- Some of these dependencies are used by the "bnd-resolver-maven-plugin" (note
the configuration "includeDependencyManagement=true") in combination with project
dependencies as input to calculate a solution which consists of a (minimal)
set of bundles that, given the initial requirements (which in this case are the
individual modules of this project), would actually run in OSGi and be completely
satisfied. By keeping these dependencies in the dependencyManagement section they
are inert for all other intents and purposes or until directly referenced. -->
<dependency>
<groupId>org.apache.aries.spifly</groupId>
<artifactId>org.apache.aries.spifly.dynamic.framework.extension</artifactId>
<version>1.3.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.johnzon</groupId>
<artifactId>johnzon-core</artifactId>
<version>${johnzon.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-json_1.1_spec</artifactId>
<version>${geronimo.jsonp.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi</artifactId>
<version>3.23.200</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<java>
<palantirJavaFormat><version>2.74.0</version></palantirJavaFormat>
<removeUnusedImports />
</java>
<kotlin>
<ktfmt>
<maxWidth>120</maxWidth>
<style>KOTLINLANG</style>
</ktfmt>
</kotlin>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.6.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<doclint>all,-missing</doclint>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.9.0</version>
<configuration>
<header>header.txt</header>
<excludes>
<exclude>LICENSE.txt</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.26</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<version>6.0.0</version>
<configuration>
<instructions>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Bundle-SymbolicName>${symbolic.name}</Bundle-SymbolicName>
<Bundle-Description>${project.description}</Bundle-Description>
<Import-Package>${osgi.importPackage}</Import-Package>
<Export-Package>${osgi.exportPackage}</Export-Package>
<Bundle-RequiredExecutionEnvironment />
<Include-Resource>${osgi.includeResource}</Include-Resource>
<_removeheaders>Bnd-LastModified</_removeheaders>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<excludeArtifacts>
<artifact>tests</artifact>
<artifact>test-base</artifact>
<artifact>test-gson</artifact>
<artifact>test-jackson2</artifact>
<artifact>test-jackson2-config</artifact>
<artifact>test-jackson3</artifact>
<artifact>test-johnzon</artifact>
<artifact>test-json-path</artifact>
<artifact>test-jsonorg</artifact>
<artifact>test-junit4</artifact>
<artifact>test-kotlin</artifact>
<artifact>test-moshi</artifact>
<artifact>test-no-hamcrest</artifact>
</excludeArtifacts>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.1</version>
<configuration>
<release>${target.java.version}</release>
<fork>true</fork>
<compilerArgs>
<arg>-Werror</arg>
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
<arg>-Xplugin:ErrorProne -XepOpt:NullAway:AnnotatedPackages=net.javacrumbs.jsonunit -Xep:BadImport:OFF</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.42.0</version>
</path>
<path>
<groupId>com.uber.nullaway</groupId>
<artifactId>nullaway</artifactId>
<version>0.12.12</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<!-- Asserts that the resulting bundle resolves adequately in OSGi in terms
of its dependencies. If this check fails it is most likely a problem
with package export or import specification. -->
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-resolver-maven-plugin</artifactId>
<version>${bnd.version}</version>
<configuration>
<failOnChanges>false</failOnChanges>
<includeDependencyManagement>true</includeDependencyManagement>
<reportOptional>false</reportOptional>
<writeOnChanges>false</writeOnChanges>
<bundles>
<bundle>target/${project.artifactId}-${project.version}.jar</bundle>
</bundles>
<scopes>
<scope>compile</scope>
<scope>runtime</scope>
<scope>test</scope>
</scopes>
</configuration>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>resolve</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Johnzon does not work with Java 16 -->
<id>open-java-base</id>
<activation>
<jdk>[16,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens java.base/java.util=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<scm>
<connection>scm:git:git@github.com:lukas-krecan/JsonUnit.git</connection>
<developerConnection>scm:git:git@github.com:lukas-krecan/JsonUnit.git</developerConnection>
<url>scm:git:git@github.com:lukas-krecan/JsonUnit.git</url>
<tag>json-unit-parent-5.1.0</tag>
</scm>
</project>