Add a dependency-convergence profile 44/76544/4
authorLuis Gomez <ecelgp@gmail.com>
Mon, 1 Oct 2018 20:14:26 +0000 (13:14 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Thu, 18 Apr 2019 02:16:01 +0000 (02:16 +0000)
This profile enforces dependency convergence to common distribution
build.

Change-Id: I8f01300eb83c20bf2bc78cd399f4b5edbf69fd92
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
opendaylight/pom.xml

index bc4078a5075729cae9e8ca9d72d948c7f9cc765b..92885824cafb2c872b7195bb285a6151f7de1acb 100644 (file)
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>dependency-convergence</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-enforcer-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>enforce-dependency-convergence</id>
+                                <goals>
+                                    <goal>enforce</goal>
+                                </goals>
+                                <configuration>
+                                    <rules>
+                                        <dependencyConvergence/>
+                                    </rules>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>