Jorg Heymans wrote:
[ERROR] The project build-tools:1-SNAPSHOT
(D:\src\myproject\pom.xml) has 1 error
[ERROR]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: junit:junit:jar -> duplicate declaration of version
3.8.2
Shall i log an issue for this or is this a known feature ?
The error itself is by design and is part of overall stricter POM
validation. If the cause isn't present in the current POM, it must be
present in one of its parents. "mvn ... -e" should tell more but I will
look into improving the message for the next release.
[...] lots of "expression
${pom.version} is deprecated. Please use ${project.version} instead",
wierd thing is i'm never actually using expressions in my project.
As said, likely due to one of the parents from which you inherit.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]