Add a dependency-convergence profile 37/76437/1
authorStephen Kitt <skitt@redhat.com>
Thu, 13 Sep 2018 08:52:34 +0000 (10:52 +0200)
committerStephen Kitt <skitt@redhat.com>
Tue, 25 Sep 2018 09:26:59 +0000 (11:26 +0200)
This profile enforces dependency convergence. This could soon be
useful since we are close to dependency convergence now; it would at
least be nice to have a specific job to track this.

Change-Id: Ia2d4951a534f8a85c4d505ef8fb7029786450401
Signed-off-by: Stephen Kitt <skitt@redhat.com>
karaf/pom.xml

index 7e9324b4c3553f74b9d7c95c60cd0d764c1f88aa..e7da3377d3a84a2f07fe348c554c977bb07f9eb4 100644 (file)
             </plugin>
         </plugins>
     </build>
+
+    <profiles>
+        <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>