Buildnumber plugin improvement: relativeBaseDir, useLastChangedRevision (patch
offered)
---------------------------------------------------------------------------------------
Key: MOJO-1061
URL: http://jira.codehaus.org/browse/MOJO-1061
Project: Mojo
Issue Type: Improvement
Components: buildnumber
Environment: OSX 10.4
Reporter: Jason Rosenberg
Attachments: BuildMojo.java, InfoScmResult.java, README.txt
I've added a couple new features to the buildnumber-maven-plugin, I've attached
patched files here, which are based off the 1.0-beta-1 repository version.
Basically, I've added the ability to generate a buildnumber that reflects the
revision of a relative directory, so that if you have a multi-layered pom
structure, with pom.xml's at several levels, you can make it so that the build
number generated is standardized for all directories within the project.
Also, I added a 'useLastChangedRevision' flag, so that it won't always just
take the latest respository version. This prevents other check-ins on other
projects or branches within a repository from affecting the buildnumber
generated for the current project.
I've attached my modified files (2 sources). And also a readme file which
includes my example usage in my project.
Jason
--
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