[ 
https://jira.codehaus.org/browse/SCM-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317387#comment-317387
 ] 

Karl Pietrzak commented on SCM-711:
-----------------------------------

Thank you, Olivier, but I feel like using the  {{buildnumber-maven-plugin}} to 
get the SVN rev or Git changeset is just a workaround around the fact that I 
can't get it from {{scm}} plugin.  I feel this is ironic, IMHO, because I can 
branch using the {{scm}} plugin, but I can't get the revision.

Also {{buildnumber:create}} seems to be [only supported for 
Subversion|http://mojo.codehaus.org/buildnumber-maven-plugin/create-mojo.html], 
as compared to the plethora of SCMs that the Maven SCM plugin supports, most of 
which already have some kind {{getInfo()}} method.

I'm not complaining: I'm offering to write a patch, if folks think this is 
worthwhile.

Thanks!
                
> request for scm:info goal
> -------------------------
>
>                 Key: SCM-711
>                 URL: https://jira.codehaus.org/browse/SCM-711
>             Project: Maven SCM
>          Issue Type: Wish
>          Components: maven-scm-api
>            Reporter: Karl Pietrzak
>            Priority: Minor
>
> h4. What
> I would like to request the addition of a {{scm:info}} goal.
> h4. Why
> I would like to use  the properties of {{scm:info}} in the rest of my Maven 
> build process, especially put SVN info properties into my manifest.
> h4. How
> Most (all?) of the providers have some kind of {{info}} method already, so it 
> shouldn't be a big deal.
> I can submit a patch, if this sounds OK to folks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to