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
This commit is contained in:
parent
f513f69fc5
commit
9310145211
2 changed files with 139 additions and 81 deletions
|
@ -5,6 +5,9 @@ CHANGELOG
|
||||||
-----
|
-----
|
||||||
|
|
||||||
* Use `kemitix-quality-maven-plugin` to replace some plugins
|
* 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
|
3.2.4
|
||||||
-----
|
-----
|
||||||
|
|
95
pom.xml
95
pom.xml
|
@ -41,17 +41,22 @@
|
||||||
<digraphBasePackage>net.kemitix</digraphBasePackage>
|
<digraphBasePackage>net.kemitix</digraphBasePackage>
|
||||||
|
|
||||||
<lombok.version>1.16.18</lombok.version>
|
<lombok.version>1.16.18</lombok.version>
|
||||||
|
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
|
||||||
<maven-clean-plugin.version>3.0.0</maven-clean-plugin.version>
|
<maven-clean-plugin.version>3.0.0</maven-clean-plugin.version>
|
||||||
<maven-install-plugin.version>2.5.2</maven-install-plugin.version>
|
<maven-install-plugin.version>2.5.2</maven-install-plugin.version>
|
||||||
|
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
|
||||||
<maven-site-plugin.version>3.6</maven-site-plugin.version>
|
<maven-site-plugin.version>3.6</maven-site-plugin.version>
|
||||||
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
|
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
|
||||||
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
||||||
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
||||||
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
||||||
<maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version>
|
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
|
||||||
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
|
<maven-dependency-plugin.version>3.0.2</maven-dependency-plugin.version>
|
||||||
<maven-failsafe-plugin.version>2.20</maven-failsafe-plugin.version>
|
<maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
|
||||||
|
<maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
|
||||||
|
<maven-failsafe-plugin.version>2.20.1</maven-failsafe-plugin.version>
|
||||||
<maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
|
<maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
|
||||||
|
<maven-project-info-reports-plugin.version>2.9</maven-project-info-reports-plugin.version>
|
||||||
|
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<versions.version>2.4</versions.version>
|
<versions.version>2.4</versions.version>
|
||||||
|
@ -85,7 +90,6 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>${maven-javadoc-plugin.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
<id>attach-javadocs</id>
|
||||||
|
@ -100,7 +104,6 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>${maven-source-plugin.version}</version>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
|
@ -115,7 +118,6 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
<version>${maven-gpg-plugin.version}</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<passphrase>${gpg.passphrase}</passphrase>
|
<passphrase>${gpg.passphrase}</passphrase>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -133,7 +135,6 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<version>${maven-deploy-plugin.version}</version>
|
|
||||||
</plugin><!-- maven deploy-plugin -->
|
</plugin><!-- maven deploy-plugin -->
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
@ -169,25 +170,38 @@
|
||||||
<build>
|
<build>
|
||||||
<directory>${kemitix.build.directory}</directory>
|
<directory>${kemitix.build.directory}</directory>
|
||||||
|
|
||||||
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>net.kemitix</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>kemitix-quality-maven-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>${kemitix-quality-maven-plugin.version}</version>
|
<version>${maven-javadoc-plugin.version}</version>
|
||||||
<executions>
|
</plugin><!-- maven-javadoc-plugin -->
|
||||||
<execution>
|
<plugin>
|
||||||
<goals>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<goal>validate</goal>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<goal>verify</goal>
|
<version>${maven-source-plugin.version}</version>
|
||||||
</goals>
|
</plugin><!-- maven-source-plugin -->
|
||||||
</execution>
|
<plugin>
|
||||||
</executions>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</plugin>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
<version>${maven-gpg-plugin.version}</version>
|
||||||
|
</plugin><!-- maven-gpg-plugin -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
<version>${maven-deploy-plugin.version}</version>
|
||||||
|
</plugin><!-- maven deploy-plugin -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<version>${maven-clean-plugin.version}</version>
|
<version>${maven-clean-plugin.version}</version>
|
||||||
</plugin><!-- maven-clean-plugin -->
|
</plugin><!-- maven-clean-plugin -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>${maven-antrun-plugin.version}</version>
|
||||||
|
</plugin><!-- maven-antrun-plugin -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-install-plugin</artifactId>
|
<artifactId>maven-install-plugin</artifactId>
|
||||||
|
@ -213,6 +227,34 @@
|
||||||
<encoding>${project.build.sourceEncoding}</encoding>
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin><!-- maven-compiler-plugin -->
|
</plugin><!-- maven-compiler-plugin -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>net.kemitix</groupId>
|
||||||
|
<artifactId>kemitix-quality-maven-plugin</artifactId>
|
||||||
|
<version>${kemitix-quality-maven-plugin.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>validate</goal>
|
||||||
|
<goal>verify</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<version>${maven-dependency-plugin.version}</version>
|
||||||
|
</plugin><!-- maven-dependency-plugin -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<version>${maven-assembly-plugin.version}</version>
|
||||||
|
</plugin><!-- maven-assembly-plugin -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
|
<version>${maven-release-plugin.version}</version>
|
||||||
|
</plugin><!-- maven-release-plugin -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
@ -248,10 +290,23 @@
|
||||||
<version>${versions.version}</version>
|
<version>${versions.version}</version>
|
||||||
</plugin><!-- versions-maven-plugin -->
|
</plugin><!-- versions-maven-plugin -->
|
||||||
</plugins>
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>net.kemitix</groupId>
|
||||||
|
<artifactId>kemitix-quality-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<reporting>
|
<reporting>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
|
<version>${maven-project-info-reports-plugin.version}</version>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in a new issue