Add dependency convergence check

This commit is contained in:
Sean Owen 2014-05-13 15:35:52 +01:00
parent 5a07783224
commit 2a8cd871bc

19
pom.xml
View file

@ -108,6 +108,25 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<dependencyConvergence/>
<requireMavenVersion>
<version>3.1.1</version>
</requireMavenVersion>
<requireJavaVersion>
<version>${java.version}</version>
</requireJavaVersion>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>