Package org.codehaus.mojo.buildhelper
Class UpToDatePropertiesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.AbstractUpToDatePropertyMojo
org.codehaus.mojo.buildhelper.UpToDatePropertiesMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="uptodate-properties",
defaultPhase=VALIDATE,
threadSafe=true)
public class UpToDatePropertiesMojo
extends AbstractUpToDatePropertyMojo
Sets multiple properties according to whether multiple sets of source and target resources are respectively up to
date.
- Since:
- 1.12
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Disables the plug-in execution.private List
<UpToDatePropertySetting> List ofUpToDatePropertySetting
s to apply.Fields inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
project
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractUpToDatePropertyMojo
execute
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
upToDatePropertySettings
List ofUpToDatePropertySetting
s to apply. -
skip
@Parameter(property="buildhelper.uptodateproperties.skip", defaultValue="false") private boolean skipDisables the plug-in execution.
-
-
Constructor Details
-
UpToDatePropertiesMojo
public UpToDatePropertiesMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-