[doc] Fix ruledoc for POM: ProjectVersionAsDependencyVersion
This commit is contained in:
parent
d1fa989b3c
commit
9c182974e7
@ -30,6 +30,7 @@
|
||||
<delimiters>
|
||||
<delimiter>${*}</delimiter>
|
||||
</delimiters>
|
||||
<escapeString>\</escapeString>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
@ -67,7 +67,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 \${project.version} in a BOM or parent POM.
|
||||
</description>
|
||||
<priority>3</priority>
|
||||
<properties>
|
||||
@ -92,7 +92,7 @@ By far the most common problem is the use of ${project.version} in a BOM or
|
||||
...
|
||||
<dependency>
|
||||
...
|
||||
<version>${project.version}</version>
|
||||
<version>\${project.version}</version>
|
||||
</dependency>
|
||||
</project>
|
||||
]]>
|
||||
|
Loading…
x
Reference in New Issue
Block a user