All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.java.rules.squid.S3421.html Maven / Gradle / Ivy

There is a newer version: 8.6.0.37351
Show newest version

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>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy