Upgrade Maven plugins

Also specify minimum Maven version.

Test with mvn versions:display-plugin-updates
This commit is contained in:
Andrew Gaul 2012-10-29 16:10:45 -07:00
parent e9edce7bae
commit b4eaa4330e
2 changed files with 21 additions and 16 deletions

View File

@ -36,7 +36,6 @@
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0-alpha-4</version>
<extensions>true</extensions>
</plugin>
<plugin>
@ -50,7 +49,6 @@
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.0-alpha-4</version>
</extension>
</extensions>
</build>

View File

@ -397,7 +397,7 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<version>2.12.4</version>
<executions>
<execution>
<id>integration</id>
@ -447,7 +447,7 @@
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.1</version>
<version>1.1.1</version>
<executions>
<execution>
<id>enforce-banned-dependencies</id>
@ -484,7 +484,7 @@
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5</version>
<version>2.5.1</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<source>${maven.compile.source}</source>
@ -493,7 +493,7 @@
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<version>2.6</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
@ -559,6 +559,10 @@
</plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
@ -569,11 +573,11 @@
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.1</version>
<version>1.1.1</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<version>2.4</version>
</plugin>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
@ -581,7 +585,7 @@
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.1</version>
<version>2.4</version>
<configuration>
<releaseProfiles>doc</releaseProfiles>
</configuration>
@ -592,7 +596,7 @@
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>
<version>2.5.1</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
@ -617,6 +621,7 @@
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet>
@ -635,6 +640,7 @@
<plugin>
<groupId>org.sonatype.maven.plugin</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.2</version>
<configuration>
<formats>html,xml</formats>
</configuration>
@ -676,7 +682,7 @@
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.12</version>
<version>2.12.4</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
@ -686,12 +692,12 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5</version>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.sonatype.maven.plugin</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.3-SNAPSHOT</version>
<version>1.2</version>
</plugin>
<plugin>
<groupId>com.theoryinpractise</groupId>
@ -722,7 +728,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<version>2.9</version>
<configuration>
<maxmemory>256m</maxmemory>
<encoding>${project.build.sourceEncoding}</encoding>
@ -838,6 +844,7 @@ pageTracker._trackPageview();
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<configuration>
<executable>${gpg.command}</executable>
<passphrase>${gpg.passphrase}</passphrase>
@ -919,7 +926,7 @@ pageTracker._trackPageview();
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version>
<version>2.9</version>
<executions>
<execution>
<id>javadoc</id>
@ -940,7 +947,7 @@ pageTracker._trackPageview();
<!-- make sure we generate src jars too -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<version>2.2</version>
<executions>
<execution>
<id>attach-sources</id>