roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Sharma (Jira)" <j...@apache.org>
Subject [jira] [Commented] (ROL-2158) Remove deprecated pom.* properties with project.*
Date Tue, 12 Nov 2019 05:48:00 GMT

    [ https://issues.apache.org/jira/browse/ROL-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972080#comment-16972080
] 

Aditya Sharma commented on ROL-2158:
------------------------------------

Thanks [~saurabh.dixit] for your contribution!

> Remove deprecated pom.* properties with project.*
> -------------------------------------------------
>
>                 Key: ROL-2158
>                 URL: https://issues.apache.org/jira/browse/ROL-2158
>             Project: Apache Roller
>          Issue Type: Bug
>    Affects Versions: 6.0.0
>            Reporter: Saurabh Dixit
>            Assignee: Aditya Sharma
>            Priority: Minor
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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.
> h2. Noncompliant Code Example
> {code:java}
> <build> <finalName>${pom.artifactId}-${pom.version}</finalName> <!--
Noncompliant -->{code}
> h2. Compliant Solution
> {code:java}
> <build> <finalName>${project.artifactId}-${project.version}</finalName>{code}
> or
> {code:java}
> <build> <finalName>${artifactId}-${version}</finalName>{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message