Optimize pom.xml´s.
This commit is contained in:
110
pom.xml
110
pom.xml
@@ -3,7 +3,8 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.mustangproject</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
<version>2.19.1-SNAPSHOT</version> <packaging>pom</packaging>
|
||||
<version>2.19.1-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Mustang</name>
|
||||
|
||||
<modules>
|
||||
@@ -19,17 +20,78 @@
|
||||
<connection>scm:git:git://github.com/dexecutor/dependent-tasks-executor.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:dexecutor/dexecutor.git</developerConnection>
|
||||
<url>https://github.com/dexecutor/dependent-tasks-executor</url>
|
||||
<tag>core-2.3.2</tag>
|
||||
</scm>
|
||||
<tag>core-2.3.2</tag>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<github.global.server>github</github.global.server>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
<!-- Skip error check for javadoc -->
|
||||
<maven.compiler.release>11</maven.compiler.release>
|
||||
<maven.deploy.skip>true</maven.deploy.skip><!-- prevent this to be deployed to maven central as "core",
|
||||
we only want submodules, see also https://stackoverflow.com/questions/7446599/how-to-deploy-only-the-sub-modules-using-maven-deploy-->
|
||||
|
||||
<!--
|
||||
Dependency versions. Please keep alphabetical.
|
||||
|
||||
you can automatically sort it by running
|
||||
mvn com.github.ekryd.sortpom:sortpom-maven-plugin:2.8.0:sort -Dsort.sortProperties=true -Dsort.nrOfIndentSpace=4 -Dsort.keepBlankLines=true -Dsort.sortDependencies=scope,groupId,artifactId
|
||||
|
||||
Each version property should be of the form "version.<groupId>".
|
||||
For example: <version.org.mustangproject>
|
||||
|
||||
In cases where multiple artifacts use the same groupId but have different
|
||||
versions, add the artifactId to the property name.
|
||||
For example: <version.org.mustangproject.library>
|
||||
|
||||
First the versions for plugins, then those for libraries.
|
||||
-->
|
||||
<version.org.apache.maven.plugins.maven-compiler-plugin>3.14.0</version.org.apache.maven.plugins.maven-compiler-plugin><!-- from 2.3.2, 3.13.0 -->
|
||||
<version.org.apache.maven.plugins.maven-deploy-plugin>3.1.4</version.org.apache.maven.plugins.maven-deploy-plugin><!-- from 3.0.0-M1 -->
|
||||
<version.org.apache.maven.plugins.maven-gpg-plugin>3.2.8</version.org.apache.maven.plugins.maven-gpg-plugin><!-- from 1.6 -->
|
||||
<version.org.apache.maven.plugins.maven-jar-plugin>3.4.2</version.org.apache.maven.plugins.maven-jar-plugin><!-- from 3.2.0, 3.4.2 -->
|
||||
<version.org.apache.maven.plugins.maven-javadoc-plugin>3.11.2</version.org.apache.maven.plugins.maven-javadoc-plugin><!-- from 3.0.1 -->
|
||||
<version.org.apache.maven.plugins.maven-release-plugin>3.1.1</version.org.apache.maven.plugins.maven-release-plugin><!-- from 2.5.3 -->
|
||||
<version.org.apache.maven.plugins.maven-resources-plugin>3.3.1</version.org.apache.maven.plugins.maven-resources-plugin><!-- from 3.1.0 -->
|
||||
<version.org.apache.maven.plugins.maven-shade-plugin>3.6.0</version.org.apache.maven.plugins.maven-shade-plugin><!-- from 2.4.3, 3.5.3 -->
|
||||
<version.org.apache.maven.plugins.maven-source-plugin>3.3.1</version.org.apache.maven.plugins.maven-source-plugin><!-- from 3.2.1, 3.3.1 -->
|
||||
<version.org.apache.maven.plugins.maven-surefire-plugin>3.5.3</version.org.apache.maven.plugins.maven-surefire-plugin>
|
||||
<version.org.apache.maven.plugins.maven-toolchains-plugin>3.2.0</version.org.apache.maven.plugins.maven-toolchains-plugin><!-- from 3.1.0 -->
|
||||
<version.org.apache.maven.scm>1.9.5</version.org.apache.maven.scm>
|
||||
<version.org.codehaus.mojo>1.0.0</version.org.codehaus.mojo>
|
||||
<version.com.helger.maven>8.0.0</version.com.helger.maven>
|
||||
<version.org.sonatype.plugins>1.7.0</version.org.sonatype.plugins>
|
||||
|
||||
<version.ch.qos.logback>1.5.18</version.ch.qos.logback><!-- from 1.5.16 -->
|
||||
<version.com.fasterxml.jackson.core>2.17.3</version.com.fasterxml.jackson.core><!-- from 2.17.1 -->
|
||||
<version.com.helger.en16931-cii2ubl>2.3.1</version.com.helger.en16931-cii2ubl><!-- from 2.3.0 -->
|
||||
<version.com.helger.schematron>8.0.6</version.com.helger.schematron><!-- from 8.0.0 -->
|
||||
<version.commons-cli>1.10.0</version.commons-cli><!-- from 1.8.0 -->
|
||||
<version.commons-io>2.20.0</version.commons-io><!-- from 2.16.1 -->
|
||||
<version.jakarta.xml.bind>4.0.2</version.jakarta.xml.bind>
|
||||
<version.net.sf.saxon>12.8</version.net.sf.saxon><!-- from 12.4 -->
|
||||
<version.org.apache.pdfbox>3.0.5</version.org.apache.pdfbox>
|
||||
<version.org.apache.xmlgraphics>2.11</version.org.apache.xmlgraphics><!-- from 2.10 -->
|
||||
<version.org.codehaus.janino>3.1.12</version.org.codehaus.janino><!-- from 3.1.7 -->
|
||||
<version.org.dom4j>2.1.5</version.org.dom4j><!-- from 2.1.4 -->
|
||||
<version.org.glassfish.jaxb>4.0.5</version.org.glassfish.jaxb>
|
||||
<version.org.junit>5.13.4</version.org.junit><!-- from 5.10.2 -->
|
||||
<version.org.skyscreamer>2.0-rc1</version.org.skyscreamer>
|
||||
<version.org.slf4j>2.0.17</version.org.slf4j><!-- from 2.0.9, 2.0.12 -->
|
||||
<version.org.verapdf>1.26.5</version.org.verapdf><!-- from 1.26.2 -->
|
||||
<version.org.xmlunit>2.10.3</version.org.xmlunit><!-- from 2.10.0 -->
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin><!-- mvn help:effective-pom will otherwise tell it just defaults
|
||||
to 2.3.2 - which does not release in the maven repo, and neither shows any
|
||||
error message :-( -->
|
||||
to 2.3.2 - which does not release in the maven repo, and neither shows any
|
||||
error message :-( -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
<version>${version.org.apache.maven.plugins.maven-release-plugin}</version>
|
||||
<configuration>
|
||||
<localCheckout>true</localCheckout>
|
||||
<pushChanges>false</pushChanges>
|
||||
@@ -40,7 +102,7 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.scm</groupId>
|
||||
<artifactId>maven-scm-provider-gitexe</artifactId>
|
||||
<version>1.9.5</version>
|
||||
<version>${version.org.apache.maven.scm}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
@@ -51,26 +113,24 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<version>${version.org.apache.maven.plugins.maven-javadoc-plugin}</version>
|
||||
<configuration>
|
||||
|
||||
<excludePackageNames>org.mustangproject.ZUGFeRD.model.*</excludePackageNames>
|
||||
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.0.0-M1</version>
|
||||
<version>${version.org.apache.maven.plugins.maven-deploy-plugin}</version>
|
||||
<configuration>
|
||||
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo
|
||||
</altDeploymentRepository>
|
||||
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>1.7.0</version>
|
||||
<version>${version.org.sonatype.plugins}</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>ossrh</serverId>
|
||||
@@ -81,6 +141,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.maven-surefire-plugin}</version>
|
||||
<configuration>
|
||||
<runOrder>alphabetical</runOrder>
|
||||
</configuration>
|
||||
@@ -88,10 +149,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.2.1</version>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
<version>${version.org.apache.maven.plugins.maven-source-plugin}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadoc</id>
|
||||
@@ -112,18 +170,6 @@
|
||||
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<github.global.server>github</github.global.server>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
<!-- Skip error check for javadoc -->
|
||||
<maven.compiler.compilerVersion>11</maven.compiler.compilerVersion>
|
||||
<maven.compiler.source>11</maven.compiler.source>
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
<maven.deploy.skip>true</maven.deploy.skip><!-- prevent this to be deployed to maven central as "core",
|
||||
we only want submodules, see also https://stackoverflow.com/questions/7446599/how-to-deploy-only-the-sub-modules-using-maven-deploy-->
|
||||
</properties>
|
||||
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>User List</name>
|
||||
@@ -173,7 +219,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<version>${version.org.apache.maven.plugins.maven-gpg-plugin}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
@@ -187,7 +233,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-toolchains-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>${version.org.apache.maven.plugins.maven-toolchains-plugin}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
|
||||
Reference in New Issue
Block a user