Package org.codehaus.mojo.build
Class HgChangeSetMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.build.HgChangeSetMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="hgchangeset", defaultPhase=INITIALIZE, requiresProject=true, threadSafe=true) public class HgChangeSetMojo extends org.apache.maven.plugin.AbstractMojoGoal which sets project properties for changeSet and changeSetDate from the current Mercurial repository.- Since:
- 1.0-beta-4
- Author:
- Tomas Pollak
-
-
Constructor Summary
Constructors Constructor Description HgChangeSetMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()protected StringgetChangeSet()protected StringgetChangeSetDate()protected StringgetChangeSetDateProperty()protected StringgetChangeSetProperty()protected StringgetProperty(String property)
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getChangeSet
protected String getChangeSet() throws org.apache.maven.scm.ScmException, org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.scm.ScmExceptionorg.apache.maven.plugin.MojoExecutionException
-
getChangeSetDate
protected String getChangeSetDate() throws org.apache.maven.scm.ScmException, org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.scm.ScmExceptionorg.apache.maven.plugin.MojoExecutionException
-
getChangeSetDateProperty
protected String getChangeSetDateProperty()
-
getChangeSetProperty
protected String getChangeSetProperty()
-
-