Join GitHub today
[xml] ProjectVersionAsDependencyVersion false positive #715
Rule Set: POM / ProjectVersionAsDependencyVersion
Code Sample demonstrating the issue:
The XPath could be improved to be this:
which will require an own version tag. But we probably should somehow look at the groupId of this project (could be inherited from parent) and the groupId of the dependency, which uses "project.version".