[doc] fix documentation of rule pom/ProjectVersionAsDependencyVersion

This commit is contained in:
Andreas Dangel
2017-12-15 16:21:05 +01:00
parent cb954e93e5
commit 05d29f4c9b
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ The following types are considered valid: pom, jar, maven-plugin, ejb, war, ear,
**Priority:** Medium (3)
Using that expression in dependency declarations seems like a shortcut, but it can go wrong.
By far the most common problem is the use of 6.1.0-SNAPSHOT in a BOM or parent POM.
By far the most common problem is the use of ${project.version} in a BOM or parent POM.
```
//dependency/version/text[contains(@Image,'{project.version}')]

View File

@ -62,7 +62,7 @@ The following types are considered valid: pom, jar, maven-plugin, ejb, war, ear,
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_pom_errorprone.html#projectversionasdependencyversion">
<description>
Using that expression in dependency declarations seems like a shortcut, but it can go wrong.
By far the most common problem is the use of ${project.version} in a BOM or parent POM.
By far the most common problem is the use of &#x24;{project.version} in a BOM or parent POM.
</description>
<priority>3</priority>
<properties>