Skip to content

Commit

Permalink
Fix DependencyConvergence issue created with 3ada8d8
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenquimby committed Apr 7, 2016
1 parent 23d2089 commit 1635938
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ target/
*.iml
.idea/compiler.xml
.idea/encodings.xml
.idea/findbugs-idea.xml
.idea/copyright/profiles_settings.xml
.idea/libraries/Maven__com_carrotsearch_hppc_0_5_3.xml
.idea/libraries/Maven__com_carrotsearch_junit_benchmarks_0_7_2.xml
Expand Down
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,26 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${version.maven-enforcer-plugin}</version>
<configuration>
<rules>
<DependencyConvergence/>
</rules>
</configuration>
<executions>
<execution>
<id>enforce-dependency-convergence</id>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
Expand Down Expand Up @@ -336,6 +356,12 @@
<artifactId>randomizedtesting-runner</artifactId>
<version>${version.randomizedtesting}</version>
<scope>test</scope>
<exclusions>
<exclusion><!-- prevents maven-enforcer DependencyConvergence error - bring in our own version below -->
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down

0 comments on commit 1635938

Please sign in to comment.