[ 
http://jira.codehaus.org/browse/MOJO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253730#action_253730
 ] 

Aaron Pieper commented on MOJO-1348:
------------------------------------

Please include this patch. I'm working on a project which embeds version 
information to decide whether or not things get cached. If I base this version 
number on the SCM tag only, then repeated builds on my local workstation result 
in unwanted caching. This patch allows me to embed an SCM version and a build 
number, which solves my problem in an elegant way.

> Special item scmVerion to format build numbers with both scm version and 
> serial number 
> ---------------------------------------------------------------------------------------
>
>                 Key: MOJO-1348
>                 URL: http://jira.codehaus.org/browse/MOJO-1348
>             Project: Mojo
>          Issue Type: New Feature
>          Components: buildnumber
>    Affects Versions: buildnumber-maven-plugin-1.0-beta-3
>            Reporter: Hans Artmann
>            Priority: Minor
>         Attachments: pomExample.txt, scmVersionPlusSerial.patch
>
>
> The supplied patch allows to include the svn version into the item list 
> triggered by the format definition thus allowing build numbers with both svn 
> version and e.g. serial number or other elements. 
> The special item 'scmVersion'  can be used to include the version  number 
> returned by the scm into the formatted build number.
> I've tested it with revision 1.0-beta-2 but this part of the plugin has 
> obviously not changed in beta-3.
> Greetings,
> Hans

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to