Add maven-enforcer-plugin for dependency convergence
This commit is contained in:
parent
3c12b04c98
commit
7dd549ff1e
25
pom.xml
25
pom.xml
@ -184,6 +184,31 @@
|
|||||||
</signature>
|
</signature>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>3.3.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>enforce</id>
|
||||||
|
<configuration>
|
||||||
|
<rules>
|
||||||
|
<dependencyConvergence>
|
||||||
|
<excludes>
|
||||||
|
<!-- org.apache.maven:maven-resolver-provider is inconsistent -->
|
||||||
|
<exclude>org.apache.commons:commons-lang3</exclude>
|
||||||
|
<!-- org.apache.maven:maven-resolver-transport-http is inconsistent -->
|
||||||
|
<exclude>org.apache.httpcomponents:httpcore</exclude>
|
||||||
|
</excludes>
|
||||||
|
</dependencyConvergence>
|
||||||
|
</rules>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>enforce</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user