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

ASF GitHub Bot commented on SCM-335:
------------------------------------

jira-importer opened a new issue, #555:
URL: https://github.com/apache/maven-scm/issues/555

   **[nicolas de 
loof](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ndeloof)** 
opened 
**[SCM-335](https://issues.apache.org/jira/browse/SCM-335?redirect=false)** and 
commented
   
   I'd like to add in my artifacts manifest the SVN revision number.
   The scm plugin seems to be the best place to extract such info, but doesn't 
seem to yet have support for this.
   
   I'd like to see some scm:revision goal in the plugin, to set a property I 
can use later.
   
   I've found this plugin :
   http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
   but it has the issue of parsing the text-based svn output. As a french user, 
svn is localized and doesn't return the expected "Revision" property (but 
R**é**vision).
   
   Maybe I looking in the wrong place as revision number concept is not 
portable to CVS, for example, and maybe neither to other SCM tools.
   
   
   ---
   
   5 votes, 6 watchers
   




> ability to get the current revision of the project workspace
> ------------------------------------------------------------
>
>                 Key: SCM-335
>                 URL: https://issues.apache.org/jira/browse/SCM-335
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: New Feature
>          Components: maven-plugin
>         Environment: subversion
>            Reporter: nicolas de loof
>            Priority: Minor
>
> I'd like to add in my artifacts manifest the SVN revision number. 
> The scm plugin seems to be the best place to extract such info, but doesn't 
> seem to yet have support for this.
> I'd like to see some scm:revision goal in the plugin, to set a property I can 
> use later. 
> I've found this plugin :
> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html
> but it has the issue of parsing the text-based svn output. As a french user, 
> svn is localized and doesn't return the expected "Revision" property (but 
> R*é*vision).
> Maybe I looking in the wrong place as revision number concept is not portable 
> to CVS, for example, and maybe neither to other SCM tools.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to