From 9310145211492e0d6847e031952f962fbac4df7a Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 17 Sep 2017 22:24:47 +0100 Subject: [PATCH] pom.xml: upgrade maven plugins Making more use of pluginManagement. * `antrun` 1.3 -> 1.8 * `release` 2.3.2 -> 2.5.3 * `javadoc` 2.10.4 -> 3.0.0-M1 * `dependency` 2.8 -> 3.0.2 * `assembly` 2.2-beta-5 -> 3.1.0 * `deploy` 2.8 -> 2.8.2 * `copmiler` _ -> 3.7.0 * `project-info-reports` _ -> 2.9 * `surefire` _ -> 2.20.1 * `failsafe` _ -> 2.20.1 --- CHANGELOG | 3 + pom.xml | 217 ++++++++++++++++++++++++++++++++++-------------------- 2 files changed, 139 insertions(+), 81 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index b3d6d25..0716ce3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,9 @@ CHANGELOG ----- * Use `kemitix-quality-maven-plugin` to replace some plugins +* Specify version `2.9` for `maven-project-info-reports-plugin` +* Upgrade `maven-{surefire,failsafe}-plugin` to `2.20.1` +* Upgrade `maven-compiler-plugin` to `3.7.0` 3.2.4 ----- diff --git a/pom.xml b/pom.xml index db09dfb..588a62a 100644 --- a/pom.xml +++ b/pom.xml @@ -41,17 +41,22 @@ net.kemitix 1.16.18 + 1.8 3.0.0 2.5.2 + 2.5.3 3.6 - 2.10.4 + 3.0.0-M1 3.0.1 1.6 2.8.2 - 3.6.1 - 2.20 - 2.20 + 3.7.0 + 3.0.2 + 3.1.0 + 2.20.1 + 2.20.1 2.5 + 2.9 1.8 2.4 @@ -85,7 +90,6 @@ org.apache.maven.plugins maven-javadoc-plugin - ${maven-javadoc-plugin.version} attach-javadocs @@ -100,7 +104,6 @@ org.apache.maven.plugins maven-source-plugin - ${maven-source-plugin.version} attach-sources @@ -115,7 +118,6 @@ org.apache.maven.plugins maven-gpg-plugin - ${maven-gpg-plugin.version} ${gpg.passphrase} @@ -133,7 +135,6 @@ org.apache.maven.plugins maven-deploy-plugin - ${maven-deploy-plugin.version} @@ -169,89 +170,143 @@ ${kemitix.build.directory} + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + + org.apache.maven.plugins + maven-deploy-plugin + ${maven-deploy-plugin.version} + + + org.apache.maven.plugins + maven-clean-plugin + ${maven-clean-plugin.version} + + + org.apache.maven.plugins + maven-antrun-plugin + ${maven-antrun-plugin.version} + + + org.apache.maven.plugins + maven-install-plugin + ${maven-install-plugin.version} + + + org.apache.maven.plugins + maven-site-plugin + ${maven-site-plugin.version} + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + + -Xlint:unchecked + + true + true + ${java.version} + ${java.version} + ${project.build.sourceEncoding} + + + + net.kemitix + kemitix-quality-maven-plugin + ${kemitix-quality-maven-plugin.version} + + + + validate + verify + + + + + + org.apache.maven.plugins + maven-dependency-plugin + ${maven-dependency-plugin.version} + + + org.apache.maven.plugins + maven-assembly-plugin + ${maven-assembly-plugin.version} + + + org.apache.maven.plugins + maven-release-plugin + ${maven-release-plugin.version} + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + org.apache.maven.plugins + maven-failsafe-plugin + ${maven-failsafe-plugin.version} + + + integration-test + + integration-test + + + + verify + + verify + + + + + + org.eluder.coveralls + coveralls-maven-plugin + ${coveralls-maven-plugin.version} + + + org.codehaus.mojo + versions-maven-plugin + ${versions.version} + + + + net.kemitix kemitix-quality-maven-plugin - ${kemitix-quality-maven-plugin.version} - - - - validate - verify - - - - - org.apache.maven.plugins - maven-clean-plugin - ${maven-clean-plugin.version} - - - org.apache.maven.plugins - maven-install-plugin - ${maven-install-plugin.version} - - - org.apache.maven.plugins - maven-site-plugin - ${maven-site-plugin.version} - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - - -Xlint:unchecked - - true - true - ${java.version} - ${java.version} - ${project.build.sourceEncoding} - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-failsafe-plugin - ${maven-failsafe-plugin.version} - - - integration-test - - integration-test - - - - verify - - verify - - - - - - org.eluder.coveralls - coveralls-maven-plugin - ${coveralls-maven-plugin.version} - - - org.codehaus.mojo - versions-maven-plugin - ${versions.version} - + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${maven-project-info-reports-plugin.version} + org.apache.maven.plugins maven-javadoc-plugin