com.sourcesense.maven
Class StripMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.sourcesense.maven.StripMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Goal which pushes a stripped version number in the maven project properties, removing the suffix after the configured separator into the project variable noSnapshotVersion


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StripMojo()
           
 
Method Summary
 void execute()
           
 org.apache.maven.project.MavenProject getProject()
           
 String getPropertyName()
           
 void setPropertyName(String propertyName)
           
 void setSeparator(String separator)
           
 
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

StripMojo

public StripMojo()
Method Detail

getProject

public org.apache.maven.project.MavenProject getProject()

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getPropertyName

public String getPropertyName()

setPropertyName

public void setPropertyName(String propertyName)

setSeparator

public void setSeparator(String separator)


Copyright © 2009 Alfresco. All Rights Reserved.