mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-24 17:47:41 +01:00
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>
|
||||
</configuration>
|
||||
</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>
|
||||
</build>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user