Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated versions of plugins and dependencies

  • Loading branch information...
commit abd665f554f9a3256b275aaaf98b0c8159684e3d 1 parent 69c5967
@keeganwitt keeganwitt authored
Showing with 60 additions and 20 deletions.
  1. +60 −20 pom.xml
View
80 pom.xml
@@ -15,11 +15,8 @@
<javaVersion>1.5</javaVersion>
<!-- TODO: support JDK 1.4? java.lang.reflect.Method.invoke() seems to expect "Object[] args" in 1.4 but "Object... args" in 1.5, not sure how to handle -->
<minMavenVersion>2.0</minMavenVersion>
+ <maxMavenVersion>3.0</maxMavenVersion>
<mavenVersion>2.2.1</mavenVersion>
- <plexusContainerVersion>1.5.5</plexusContainerVersion>
- <classworldsVersion>2.4</classworldsVersion>
- <junitVersion>4.8.2</junitVersion>
- <groovyVersion>1.8.2</groovyVersion> <!-- this is only used for the site documentation and unit tests, not for any compile/runtime dependencies -->
<deployRepoUrl>dav:https://public-repo.googlecode.com/svn/maven2/repository</deployRepoUrl>
<deploySnapshotUrl>dav:https://public-repo.googlecode.com/svn/maven2/snapshots</deploySnapshotUrl>
</properties>
@@ -38,6 +35,12 @@
<scope>compile</scope>
</dependency>
<dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-registry</artifactId>
+ <version>${mavenVersion}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>file-management</artifactId>
<version>1.2.1</version>
@@ -46,35 +49,66 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
- <version>${plexusContainerVersion}</version>
+ <version>1.5.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-classworlds</artifactId>
- <version>${classworldsVersion}</version>
+ <version>2.4</version>
<scope>compile</scope>
</dependency>
<dependency>
+ <!-- this is only used for the site documentation and unit tests, not for any compile/runtime dependencies -->
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
- <version>${groovyVersion}</version>
+ <version>2.0.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>${junitVersion}</version>
+ <version>4.11</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.9.5</version>
<scope>test</scope>
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>skip integration test</id>
+ <activation>
+ <property>
+ <name>maven.it.skip</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <skipInstallation>true</skipInstallation>
+ <skipInvocation>true</skipInvocation>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0.1</version>
+ <version>1.1</version>
<executions>
<execution>
<id>enforce-versions</id>
@@ -84,7 +118,7 @@
<configuration>
<rules>
<requireMavenVersion>
- <version>[${minMavenVersion},)</version>
+ <version>[${minMavenVersion},${maxMavenVersion})</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[${javaVersion},)</version>
@@ -114,7 +148,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
- <version>2.9</version>
+ <version>3.1</version>
<executions>
<execution>
<id>generate-helpmojo</id>
@@ -136,8 +170,9 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <version>2.5.1</version>
<configuration>
<source>${javaVersion}</source>
<target>${javaVersion}</target>
@@ -146,11 +181,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.9</version>
+ <version>2.12</version>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>1.5</version>
+ <version>1.6</version>
<configuration>
<projectsDirectory>src/it</projectsDirectory>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
@@ -182,7 +218,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
- <version>2.4.1</version>
+ <version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -192,17 +228,21 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>2.3</version>
+ <version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.3.2</version>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>2.3</version>
+ <version>3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -216,12 +256,12 @@
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
- <version>1.3</version>
+ <version>1.8.1</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
- <version>1.3</version>
+ <version>1.8.1</version>
</extension>
<extension>
<!-- note you can download this from http://github.com/khuxtable/wagon-gitsite -->
Please sign in to comment.
Something went wrong with that request. Please try again.