You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/12 05:46:00 UTC

[jira] [Work logged] (ROL-2158) Remove deprecated pom.* properties with project.*

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

ASF GitHub Bot logged work on ROL-2158:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Nov/19 05:45
            Start Date: 12/Nov/19 05:45
    Worklog Time Spent: 10m 
      Work Description: adityasharma7 commented on issue #48: Improved: Replaced pom.basedir deprecated property with project.basedir. (ROL-2158)
URL: https://github.com/apache/roller/pull/48#issuecomment-552744164
 
 
   Thanks @isdixit!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 341672)
    Time Spent: 0.5h  (was: 20m)

> 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: Saurabh Dixit
>            Priority: Minor
>          Time Spent: 0.5h
>  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)