Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-2158

Remove deprecated pom.* properties with project.*

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.0.0
    • 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>

      Attachments

        Activity

          People

            adityasharma Aditya Sharma
            saurabh.dixit Saurabh Dixit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m