Add maven enforce plugin with rule to avoid dependency convergence issues

https://issues.apache.org/jira/browse/WW-5018
This commit is contained in:
Johannes Geppert
2019-02-09 15:03:46 +01:00
parent c58e49223d
commit 67d40ce12a
+18
View File
@@ -389,6 +389,24 @@
<skipRuntimeScope>true</skipRuntimeScope>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<dependencyConvergence />
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>