To keep the regular bulid from failing, the enforcer is wrapped under a specific profile: dependencyConvergence.
Use the -PdependencyConvergence to enable this profile. We will have to create a daily jenkins job to trigger
this profile and check for the convergence.
Change-Id: If474889ed83f43355d3ee5c5d44d165e0702eaf4
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
<module>virtualization/</module>
<module>serviceprovider/</module>
</modules>
+ <profiles>
+ <profile>
+ <id>dependencyConvergence</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.3.1</version>
+ <executions>
+ <execution>
+ <id>Dependency-Convergence</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <DependencyConvergence/>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>