org.codehaus.mojo.buildhelper
Class ReleasedVersionMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.buildhelper.ReleasedVersionMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ReleasedVersionMojo
extends org.apache.maven.plugin.AbstractMojo

Resolve the latest released version of this project. This mojo sets the following properties:

   [propertyPrefix].version
   [propertyPrefix].majorVersion
   [propertyPrefix].minorVersion
   [propertyPrefix].incrementalVersion   
 
Where the propertyPrefix is the string set in the mojo parameter.

Since:
1.6
Author:
Robert Scholte
Is bound to the specified phase of the standard build lifecycle:
validate
Is defined by the goal name:
released-version

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ReleasedVersionMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReleasedVersionMojo

public ReleasedVersionMojo()
Method Detail

execute

public void execute()


Copyright © 2005-2014 Codehaus. All Rights Reserved.