xmlunit-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-parent</artifactId>
<version>2.11.0</version>
</dependency><?xml version="1.0"?>
<!--
This file is licensed to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-parent</artifactId>
<packaging>pom</packaging>
<version>2.11.0</version>
<name>org.xmlunit:xmlunit-parent</name>
<description>Parent POM for all artifacts of XMLUnit</description>
<url>https://www.xmlunit.org/</url>
<properties>
<maven.compile.source>1.7</maven.compile.source>
<maven.compile.target>1.7</maven.compile.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.sourceEncoding>UTF-8</project.reporting.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- location of any manifest file used by maven-jar-plugin -->
<manifestfile>${project.build.directory}/osgi/MANIFEST.MF</manifestfile>
<!-- overridden via profile for Java 8+ -->
<javadoc.additionalparam></javadoc.additionalparam>
<!-- need to set this to be 8 so the lambdas of assertj3's javadocs are
accepted -->
<maven.javadoc.source>8</maven.javadoc.source>
<!-- Dependencies: Maven plugin -->
<maven.assembly.plugin.version>3.7.1</maven.assembly.plugin.version>
<maven.buildnumber.plugin.version>3.2.1</maven.buildnumber.plugin.version>
<maven.bundle.plugin.version>3.2.0</maven.bundle.plugin.version>
<maven.compiler.plugin.version>3.14.0</maven.compiler.plugin.version>
<maven.coveralls.plugin.version>4.7.0</maven.coveralls.plugin.version>
<maven.cyclonedx.plugin.version>2.9.1</maven.cyclonedx.plugin.version>
<maven.enforcer.plugin.version>3.5.0</maven.enforcer.plugin.version>
<maven.gpg.plugin.version>3.2.7</maven.gpg.plugin.version>
<maven.jacoco.plugin.version>0.8.13</maven.jacoco.plugin.version>
<maven.jar.plugin.version>3.4.1</maven.jar.plugin.version>
<maven.javadoc.plugin.version>3.11.2</maven.javadoc.plugin.version>
<maven.shade.plugin.version>3.6.0</maven.shade.plugin.version>
<maven.source.plugin.version>3.3.1</maven.source.plugin.version>
<maven.surefire.plugin.version>2.22.2</maven.surefire.plugin.version>
<maven.central.publishing.plugin>0.7.0</maven.central.publishing.plugin>
<!-- Dependencies: Test -->
<hamcrest.version>1.3</hamcrest.version>
<junit.version>4.13.1</junit.version>
<mockito.version>2.1.0</mockito.version>
<assertj.version>2.9.0</assertj.version>
<byte-buddy.version>1.12.23</byte-buddy.version>
<!-- Jakarta XML Binding version -->
<jakarta.xml.bind.version>2.3.3</jakarta.xml.bind.version>
<!-- Dependencies: Profile specific -->
<jdk14Plus.mockito.version>3.3.3</jdk14Plus.mockito.version>
</properties>
<inceptionYear>2001</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>XMLUnit</name>
<url>https://www.xmlunit.org/</url>
</organization>
<scm>
<connection>scm:git:git@github.com:xmlunit/xmlunit.git</connection>
<developerConnection>scm:git:git@github.com:xmlunit/xmlunit.git</developerConnection>
<url>git@github.com:xmlunit/xmlunit.git</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/xmlunit/xmlunit/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>XMLUnit General Mailing list</name>
<subscribe>https://lists.sourceforge.net/lists/listinfo/xmlunit-general</subscribe>
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/xmlunit-general</unsubscribe>
<archive>https://sourceforge.net/p/xmlunit/mailman/xmlunit-general/</archive>
</mailingList>
</mailingLists>
<modules>
<module>xmlunit-bom</module>
<module>xmlunit-core</module>
<module>xmlunit-assertj</module>
<module>xmlunit-matchers</module>
<module>xmlunit-legacy</module>
<module>xmlunit-placeholders</module>
</modules>
<developers>
<developer>
<id>XMLUnit</id>
<name>XMLUnit Contributors</name>
<email>xmlunit-general@lists.sourceforge.net</email>
<organization>XMLUnit</organization>
<organizationUrl>https://www.xmlunit.org/</organizationUrl>
</developer>
</developers>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${jakarta.xml.bind.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${jakarta.xml.bind.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>${hamcrest.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<classifier>tests</classifier>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-matchers</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-assertj</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-assertj3</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-jakarta-jaxb-impl</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${byte-buddy.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${maven.compile.source}</source>
<target>${maven.compile.target}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<!-- Fix incremental compiler bug, see https://jira.codehaus.org/browse/MCOMPILER-205 -->
<excludes>
<exclude>**/package-info.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>${maven.buildnumber.plugin.version}</version>
<configuration>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<timestampFormat>yyyy-MM-dd'T'HH:mm:ss.SSSXXX</timestampFormat>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
<configuration>
<archive>
<manifestFile>${manifestfile}</manifestFile>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
<build-time>${maven.build.timestamp}</build-time>
<X-Git-Hash>${buildNumber} (Branch ${scmBranch})</X-Git-Hash>
<Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven.shade.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven.bundle.plugin.version}</version>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<windowtitle>XMLUnit for Java ${project.version} API</windowtitle>
<doctitle>XMLUnit for Java ${project.version} API</doctitle>
<groups>
<group>
<title>XMLUnit Core ${project.version}</title>
<packages>org.xmlunit*</packages>
</group>
<group>
<title>XMLUnit Hamcrest Matchers ${project.version}</title>
<packages>org.xmlunit.matchers*</packages>
</group>
<group>
<title>XMLUnit AssertJ 3.x Assertions ${project.version}</title>
<packages>org.xmlunit.assertj3*</packages>
</group>
<group>
<title>XMLUnit AssertJ 2.x/3.x Assertions ${project.version}</title>
<packages>org.xmlunit.assertj*</packages>
</group>
<group>
<title>XMLUnit Legacy ${project.version}</title>
<packages>org.custommonkey.xmlunit*</packages>
</group>
<group>
<title>XMLUnit Placeholders ${project.version}</title>
<packages>org.xmlunit.placeholder*</packages>
</group>
<group>
<title>XMLUnit Jakarta XML Binding Support ${project.version}</title>
<packages>org.xmlunit.builder.jakarta_jaxb*</packages>
</group>
</groups>
<quiet>true</quiet>
<source>${maven.javadoc.source}</source>
<encoding>${project.build.sourceEncoding}</encoding>
<docencoding>${project.build.sourceEncoding}</docencoding>
<notimestamp>true</notimestamp>
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
</links>
<additionalparam>${javadoc.additionalparam}</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${maven.jacoco.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>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${maven.cyclonedx.plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<!--
dummy entry to stop bundle plugin from picking up jar config and reporting
WARNING: Duplicate name in Manifest
See http://markmail.org/message/mpkl24wk3jrjhhjg
-->
<archive>
<forced>true</forced>
</archive>
<excludeDependencies>true</excludeDependencies>
<manifestLocation>${project.build.directory}/osgi</manifestLocation>
<instructions>
<!-- stops the "uses" clauses being added to "Export-Package" manifest entry -->
<_nouses>true</_nouses>
<!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd -->
<_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME,JAVA_1_5_HOME,JAVA_1_6_HOME,JAVA_1_7_HOME,JAVA_1_8_HOME</_removeheaders>
<Bundle-SymbolicName>org.xmlunit.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Description>${project.description}</Bundle-Description>
<Export-Package>org.xmlunit.*;version=${project.version};-noimport:=true</Export-Package>
<Private-Package></Private-Package>
<Import-Package>*</Import-Package>
<DynamicImport-Package></DynamicImport-Package>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly.plugin.version}</version>
<inherited>false</inherited>
<configuration>
<descriptorRefs>
<descriptorRef>project</descriptorRef>
</descriptorRefs>
<attach>false</attach>
<finalName>xmlunit-${project.version}-src</finalName>
<tarLongFileMode>posix</tarLongFileMode>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jacoco</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${maven.coveralls.plugin.version}</version>
<configuration>
<dryRun>true</dryRun>
<timestamp>${maven.build.timestamp}</timestamp>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sonatype-central-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<quiet>true</quiet>
<source>${maven.compile.source}</source>
<encoding>${project.build.sourceEncoding}</encoding>
<docencoding>${project.build.sourceEncoding}</docencoding>
<notimestamp>true</notimestamp>
<links>
<link>http://docs.oracle.com/javase/6/docs/api/</link>
</links>
<additionalparam>${javadoc.additionalparam}</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${maven.central.publishing.plugin}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>sonatype-central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-no-snapshots</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Snapshots Allowed!</message>
</requireReleaseDeps>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>java8+</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>[1.8,)</jdk>
</activation>
<modules>
<module>xmlunit-assertj3</module>
<module>xmlunit-jakarta-jaxb-impl</module>
</modules>
<properties>
<javadoc.additionalparam>-Xdoclint:html,syntax,accessibility,reference</javadoc.additionalparam>
<cyclonedx.skip>false</cyclonedx.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<id>build-cyclonedx</id>
<phase>package</phase>
<goals>
<goal>makeBom</goal>
</goals>
</execution>
</executions>
<configuration>
<outputFormat>all</outputFormat>
<outputName>${project.artifactId}-${project.version}-cyclonedx</outputName>
<skipNotDeployed>false</skipNotDeployed>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalDependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${jakarta.xml.bind.version}</version>
</dependency>
</additionalDependencies>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>java14+</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>[14,)</jdk>
</activation>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${jdk14Plus.mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>java21+</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>[21,)</jdk>
</activation>
<properties>
<maven.compile.source>8</maven.compile.source>
<maven.compile.target>8</maven.compile.target>
</properties>
</profile>
</profiles>
</project>