[jira] [Comment Edited] (MRELEASE-935) Support for expression in 'version' tag

2021-04-10 Thread Robert Scholte (Jira)


[ 
https://issues.apache.org/jira/browse/MRELEASE-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17010910#comment-17010910
 ] 

Robert Scholte edited comment on MRELEASE-935 at 4/10/21, 10:04 AM:


Issues with CI friendly versions will be solved in Maven 4 with MNG-6656


was (Author: rfscholte):
Issues with CI friendly versions will be solved in Maven 3.7.0 with MNG-6656

> Support for expression in 'version' tag
> ---
>
> Key: MRELEASE-935
> URL: https://issues.apache.org/jira/browse/MRELEASE-935
> Project: Maven Release Plugin
>  Issue Type: New Feature
>Affects Versions: 2.5.3
>Reporter: Andrea Scarpino
>Priority: Minor
> Attachments: support_for_revision_in_version.patch
>
>
> The release plugin doesn't support a version value that points to a property 
> which define the version.
> Everytime I use the plugin, the version in the current POM loose the 
> expression. Maybe it could work using the property to which it points?
> {noformat}
> $ grep '' pom.xml
> ${parent.project.version}
> $ grep '' pom.xml
> 0.0.1-SNAPSHOT
> {noformat}
> Could you please implement this or point me to the files that handle this?



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


[jira] [Comment Edited] (MRELEASE-935) Support for expression in 'version' tag

2018-02-09 Thread Robert Thornton (JIRA)

[ 
https://issues.apache.org/jira/browse/MRELEASE-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16359091#comment-16359091
 ] 

Robert Thornton edited comment on MRELEASE-935 at 2/9/18 11:27 PM:
---

I would also like the release plugin to support this feature. For example, 
maven does support the ${revision} expression in the version tag in which case 
the  property is expected not to have any expressions inside it.

See: https://maven.apache.org/maven-ci-friendly.html

However, the ${revision} expression is lost when the release plugin sets the 
development version.

I've attached a patch that resolves this issue.

[^support_for_revision_in_version.patch]


was (Author: rptmaestro):
I would also like the release plugin to support this feature. For example, 
maven does support the ${revision} expression in the version tag in which case 
the  property is expected not to have any expressions inside it.  
However, the ${revision} expression is lost when the release plugin sets the 
development version.

I've attached a patch that resolves this issue.

[^support_for_revision_in_version.patch]

> Support for expression in 'version' tag
> ---
>
> Key: MRELEASE-935
> URL: https://issues.apache.org/jira/browse/MRELEASE-935
> Project: Maven Release Plugin
>  Issue Type: New Feature
>Affects Versions: 2.5.3
>Reporter: Andrea Scarpino
>Priority: Critical
> Attachments: support_for_revision_in_version.patch
>
>
> The release plugin doesn't support a version value that points to a property 
> which define the version.
> Everytime I use the plugin, the version in the current POM loose the 
> expression. Maybe it could work using the property to which it points?
> {noformat}
> $ grep '' pom.xml
> ${parent.project.version}
> $ grep '' pom.xml
> 0.0.1-SNAPSHOT
> {noformat}
> Could you please implement this or point me to the files that handle this?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)