This is an automated email from the ASF dual-hosted git repository.

jogep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 67d40ce12adc334b070f086be970f3c176fdfb32
Author: Johannes Geppert <jo...@apache.org>
AuthorDate: Sat Feb 9 15:03:46 2019 +0100

    Add maven enforce plugin with rule to avoid dependency convergence issues
    
    https://issues.apache.org/jira/browse/WW-5018
---
 pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/pom.xml b/pom.xml
index 28f2ce6..b010cc8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>
 

Reply via email to