You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Pietrzak (JIRA)" <ji...@codehaus.org> on 2013/01/15 15:34:13 UTC
[jira] (SCM-711) request for scm:info goal
Karl Pietrzak created SCM-711:
---------------------------------
Summary: 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
[jira] (SCM-711) request for scm:info goal
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SCM-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317386#comment-317386 ]
Olivier Lamy commented on SCM-711:
----------------------------------
try with http://mojo.codehaus.org/buildnumber-maven-plugin/
> 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
[jira] (SCM-711) request for scm:info goal
Posted by "Karl Pietrzak (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] (SCM-711) request for scm:info goal
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SCM-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317426#comment-317426 ]
Olivier Lamy commented on SCM-711:
----------------------------------
not well documented but buildnumber:create support git and mercurial too. (see http://mojo.codehaus.org/buildnumber-maven-plugin/index.html)
> 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