Package org.basepom.mojo.propertyhelper
Class IncrementNumbersMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo
org.basepom.mojo.propertyhelper.IncrementNumbersMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="inc",
threadSafe=true)
public final class IncrementNumbersMojo
extends AbstractPropertyHelperMojo
Fetches the defined numbers, adds properties and increments all numbers.
-
Field Summary
Fields inherited from class org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo
activeGroups, basedir, dates, LOG, macroMap, macros, numberFields, numbers, onDuplicateProperty, onMissingProperty, project, propertyGroups, settings, strings, uuids, valueCache
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Subclasses need to implement this method.Methods inherited from class org.basepom.mojo.propertyhelper.AbstractPropertyHelperMojo
execute, getBasedir, getMacros, getNumbers, getProject, getSettings, loadPropertyElements
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
IncrementNumbersMojo
public IncrementNumbersMojo()
-
-
Method Details
-
doExecute
Description copied from class:AbstractPropertyHelperMojo
Subclasses need to implement this method.- Specified by:
doExecute
in classAbstractPropertyHelperMojo
- Throws:
IOException
org.apache.maven.plugin.MojoExecutionException
-