com.sourcesense.maven
Class StripMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
StripMojo
public StripMojo()
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.