[
http://jira.codehaus.org/browse/MDEPLOY-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104283
]
Antony Stubbs commented on MDEPLOY-60:
--------------------------------------
FYI Juri Artamonov has posted the code for his Mojo which implements the
requested functionality:
http://www.nabble.com/Auto-incrementing-a-build-identifier-tf2319084s177.html#a12049162
> Make the build number available at compile time
> -----------------------------------------------
>
> Key: MDEPLOY-60
> URL: http://jira.codehaus.org/browse/MDEPLOY-60
> Project: Maven 2.x Deploy Plugin
> Issue Type: Improvement
> Affects Versions: 2.3
> Reporter: Antony Stubbs
>
> Make the build number which goes into the final filename of a deployed
> snapshot, available at compile time, so that it can be filtered into a
> properties file and used in the application. There are a lot of requests for
> this on the forum, including people trying to implement their own
> work-arounds [1]
> There could also be an option to specify a custom build number - e.g. the
> subversion revision number which is retrieved via the build number plug-in
> [2].
> [1]
> http://www.nabble.com/Auto-incrementing-a-build-identifier-tf2319084s177.html#a12026347
> [2]
> http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/introduction.html
--
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