forked from phoedos/pmd
[doc] Fix ruledoc for POM: ProjectVersionAsDependencyVersion
This commit is contained in:
parent
d1fa989b3c
commit
9c182974e7
@ -30,6 +30,7 @@
|
|||||||
<delimiters>
|
<delimiters>
|
||||||
<delimiter>${*}</delimiter>
|
<delimiter>${*}</delimiter>
|
||||||
</delimiters>
|
</delimiters>
|
||||||
|
<escapeString>\</escapeString>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</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">
|
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_pom_errorprone.html#projectversionasdependencyversion">
|
||||||
<description>
|
<description>
|
||||||
Using that expression in dependency declarations seems like a shortcut, but it can go wrong.
|
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>
|
</description>
|
||||||
<priority>3</priority>
|
<priority>3</priority>
|
||||||
<properties>
|
<properties>
|
||||||
@ -92,7 +92,7 @@ By far the most common problem is the use of ${project.version} in a BOM or
|
|||||||
...
|
...
|
||||||
<dependency>
|
<dependency>
|
||||||
...
|
...
|
||||||
<version>${project.version}</version>
|
<version>\${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</project>
|
</project>
|
||||||
]]>
|
]]>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user