Use dependencyConvergence and requireBackwardCompatibility in different phases
I believe the requireBackwardCompatibility rule needs the artifacts built
that is why it's divided into different phases
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<executions>
+ <execution>
+ <id>enforce-maven</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <dependencyConvergence/>
+ </rules>
+ </configuration>
+ </execution>
<execution>
<id>check</id>
<phase>verify</phase>
<dumpDetails>true</dumpDetails>
<publicOnly>true</publicOnly>
</requireBackwardCompatibility>
- <dependencyConvergence/>
</rules>
</configuration>
</execution>
