Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
6.0.0
-
None
-
None
Description
Deprecated features are those that have been retained temporarily for backward compatibility, but which will eventually be removed. In effect, deprecation announces a grace period to allow the smooth transition from the old features to the new ones. In that period, no use of the deprecated features should be added, and all existing uses should be gradually removed.
This rule raises an issue when ${pom.*} properties are used in a pom.
Noncompliant Code Example
<build> <finalName>${pom.artifactId}-${pom.version}</finalName> <!-- Noncompliant -->
Compliant Solution
<build> <finalName>${project.artifactId}-${project.version}</finalName>
or
<build> <finalName>${artifactId}-${version}</finalName>