aboutsummaryrefslogtreecommitdiffstats
path: root/parent/pom.xml
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2019-11-11 15:12:40 +0100
committergjoranv <gv@verizonmedia.com>2019-11-11 15:12:40 +0100
commitb372abada4b0842df79fe69f39ba9d0cea205166 (patch)
treec1d805b04ce58402f803e140238eb784b4b2f178 /parent/pom.xml
parentfd61d661ac5f28263a48ac6051c17c205f8e101b (diff)
Add version properties for official Apache Maven plugins
Diffstat (limited to 'parent/pom.xml')
-rw-r--r--parent/pom.xml38
1 files changed, 25 insertions, 13 deletions
diff --git a/parent/pom.xml b/parent/pom.xml
index e7cb674822e..00093ec4648 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -81,7 +81,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>3.5.0</version>
+ <version>${maven-bundle-plugin.version}</version>
<configuration>
<!-- TODO: remove when bundle-plugin understands java 10, https://issues.apache.org/jira/browse/FELIX-5879 -->
<instructions>
@@ -92,12 +92,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>3.1.1</version>
+ <version>${maven-assembly-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.0</version>
+ <version>${maven-compiler-plugin.version}</version>
<configuration>
<jdkToolchain>
<version>11</version>
@@ -121,7 +121,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.1</version>
+ <version>${maven-dependency-plugin.version}</version>
<dependencies>
<!-- TODO: remove when upgrading to 3.1.2 -->
<dependency>
@@ -134,7 +134,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <version>2.8.1</version>
+ <version>${maven-deploy-plugin.version}</version>
<configuration>
<retryFailedDeploymentCount>10</retryFailedDeploymentCount>
</configuration>
@@ -142,12 +142,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
+ <version>${maven-enforcer-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.5.2</version>
+ <version>${maven-install-plugin.version}</version>
<configuration>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
@@ -155,7 +155,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.0.2</version>
+ <version>${maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -168,7 +168,7 @@
<!-- TODO: remove this setting when the plugin looks for element-list (JDK 10+) instead of package-list. -->
<detectOfflineLinks>false</detectOfflineLinks>
</configuration>
- <version>3.0.1</version>
+ <version>${maven-javadoc-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -190,7 +190,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
+ <version>${maven-resources-plugin.version}</version>
<configuration>
<escapeString>\</escapeString>
</configuration>
@@ -203,12 +203,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>3.3</version>
+ <version>${maven-site-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.0.1</version>
+ <version>${maven-source-plugin.version}</version>
<configuration>
<includePom>true</includePom>
</configuration>
@@ -622,7 +622,7 @@
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.1.0</version>
+ <version>${maven-jar-plugin.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
@@ -773,8 +773,20 @@
<curator.version>2.9.1</curator.version>
<jna.version>4.5.2</jna.version>
<junit.version>5.4.2</junit.version>
+ <maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version>
+ <maven-bundle-plugin.version>3.5.0</maven-bundle-plugin.version>
+ <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
+ <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
+ <maven-deploy-plugin.version>2.8.1</maven-deploy-plugin.version>
+ <maven-enforcer-plugin.version>3.0.0-M2</maven-enforcer-plugin.version>
+ <maven-install-plugin.version>2.5.2</maven-install-plugin.version>
+ <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
+ <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
<maven-plugin-tools.version>3.6.0</maven-plugin-tools.version>
+ <maven-resources-plugin.version>2.7</maven-resources-plugin.version>
<maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
+ <maven-site-plugin.version>3.3</maven-site-plugin.version>
+ <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<prometheus.client.version>0.6.0</prometheus.client.version>
<protobuf.version>3.7.0</protobuf.version>
<surefire.version>2.22.0</surefire.version>