Throw a validation error if a pom contains the same dependency with two different versions.
Failed Unit Test on Building Plexus Velocity Component
Within a model duplicate dependency declarations should be considered an error and halt execution
POM validator allows <scope>optional</scope> but it is not valid.
improve validation of POM elements
Throw Validation Error if pom contains a dependency with two different versions.
Add new Mojo to find duplicate dependency declared
Throw validation error upon multiple repository declarations with the same id
closing for alpha-3 again to preserve integrity of release notes. See MNG-4005 for the issue to increase the level to error from the current warning.
Relaxed to warning in r928485 to ease migration from 2.x.
Fixed in r784241.
Under the current implementation, this could only happen if the profiles is adding the dependency, the project builder itself will delete the second instance.
See also Precedence of direct dependencies with equal conflict id.