Package org.seedstack.maven
Class ReleaseMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.seedstack.maven.ReleaseMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="release", requiresProject=true, threadSafe=false, aggregator=true) public class ReleaseMojo extends org.apache.maven.plugin.AbstractMojoRelease the project simply by stripping the -SNAPSHOT part of the version. Useful in continuous delivery pipelines.- Author:
- adrien.lauer@gmail.com
-
-
Constructor Summary
Constructors Constructor Description ReleaseMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()ContextgetContext()
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getContext
public Context getContext()
-
-