Skip to content

Apache Lucene open-source search software

Maven configuration: upgrade maven plugins to most recent versions

Steven Rowe57d8c13bb949
diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.template
index efbdb4fad83..cf68226b328 100644
--- a/dev-tools/maven/pom.xml.template
+++ b/dev-tools/maven/pom.xml.template
@@ -380,6 +380,9 @@
</dependency>
</dependencies>
</dependencyManagement>
+ <prerequisites>
+ <maven>2.2.1</maven>
+ </prerequisites>
<dependencies>
<dependency>
<!-- Maven 2.2.X has a bug that omits as duplicate all JUnit -->
@@ -400,7 +403,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
+ <version>1.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -439,7 +442,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.3.2</version>
+ <version>2.4</version>
<configuration>
<archive>
<!-- This section should be *exactly* the same under -->
@@ -462,6 +465,11 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.8.1</version>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
@@ -470,7 +478,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.10</version>
+ <version>2.12</version>
<configuration>
<reportFormat>plain</reportFormat>
<workingDirectory>${project.build.directory}/test</workingDirectory>
@@ -506,7 +514,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
- <version>2.1.1</version>
+ <version>2.2</version>
<configuration>
<archive>
<!-- This section should be *exactly* the same under -->
@@ -532,7 +540,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
- <version>1.1.1</version>
+ <version>1.2.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -552,7 +560,7 @@
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
- <version>1.3</version>
+ <version>1.4</version>
</plugin>
</plugins>
</pluginManagement>
@@ -634,7 +642,8 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>2.3.4</version>
+ org.apache.felix:maven-bundle-plugin ................. 2.3.4 -> 2.3.7
+ <version>2.3.7</version>
<configuration>
<instructions>
<Export-Package>*;-split-package:=merge-first</Export-Package>