[ 
http://jira.codehaus.org/browse/MOJO-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran closed MOJO-1061.
--------------------------

      Assignee: Dan Tran
    Resolution: Fixed

I added the fix base on your  submitted java source, thanks

Revision: 8556
Author: dantran
Date: 11:43:53 PM, Tuesday, January 06, 2009
Message:
-MOJO-1061: option to specify directly to run SCM action
-Refactor test to use plexus's getBasedir()
-Add option where to pickup buildNumber.properties
----
Modified : 
/trunk/mojo/buildnumber-maven-plugin/src/main/java/org/codehaus/mojo/build/BuildMojo.java
Modified : /trunk/mojo/buildnumber-maven-plugin/src/site/apt/usage.apt
Modified : 
/trunk/mojo/buildnumber-maven-plugin/src/test/java/org/codehaus/mojo/build/TestBuildMojo.java



> 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
>            Assignee: Dan Tran
>         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


Reply via email to