[ 
http://jira.codehaus.org/browse/MBUILDHELPER-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268482#action_268482
 ] 

Myron commented on MBUILDHELPER-22:
-----------------------------------

any idea when this will get officially released?
would come quite handy....

> Added 'next' versions from parsed version
> -----------------------------------------
>
>                 Key: MBUILDHELPER-22
>                 URL: http://jira.codehaus.org/browse/MBUILDHELPER-22
>             Project: Maven 2.x Build Helper Plugin
>          Issue Type: New Feature
>            Reporter: Brian Relph
>            Assignee: Paul Gier
>             Fix For: 1.6
>
>         Attachments: nextVersions.patch
>
>
> I would like an enhancement to the parse-version goal to add additional 
> properties for the 'next' versions:
> props.setProperty( propertyPrefix + ".nextMajorVersion", Integer.toString( 
> artifactVersion.getMajorVersion() + 1 ) );
> props.setProperty( propertyPrefix + ".nextMinorVersion", Integer.toString( 
> artifactVersion.getMinorVersion() + 1 ) );
> props.setProperty( propertyPrefix + ".nextIncrementalVersion",
>                            Integer.toString( 
> artifactVersion.getIncrementalVersion() + 1 ) );
> This will help me configure the maven-release-plugin to automatically detect 
> the release version and next development version:
> <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-release-plugin</artifactId>
>       <version>2.0</version>
>       <configuration>                                         
> <releaseVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.RELEASE</releaseVersion>
>                                               
> <developmentVersion>${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}.${parsedVersion.incrementalVersion}.BUILD-SNAPSHOT</developmentVersion>
>                                      
>       </configuration>
> </plugin>

-- 
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