Package org.codehaus.mojo.buildhelper
Class UpToDatePropertyMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
-
- org.codehaus.mojo.buildhelper.AbstractUpToDatePropertyMojo
-
- org.codehaus.mojo.buildhelper.UpToDatePropertyMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="uptodate-property", defaultPhase=VALIDATE, threadSafe=true) public class UpToDatePropertyMojo extends AbstractUpToDatePropertyMojo
Sets a property according to whether one set of resources is up to date with respect to another.- Since:
- 1.12
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
elseValue
The property value to set if the up-to-date condition is not fulfilled.private org.apache.maven.shared.model.fileset.FileSet
fileSet
The file set to check.private java.lang.String
name
The name of the property to set.private boolean
skip
Disables the plug-in execution.private java.lang.String
value
The property value to set if the up-to-date condition is fulfilled.-
Fields inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
project
-
-
Constructor Summary
Constructors Constructor Description UpToDatePropertyMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractUpToDatePropertyMojo
execute
-
Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
-
-
-
-
Field Detail
-
name
@Parameter(required=true) private java.lang.String name
The name of the property to set.
-
skip
@Parameter(property="buildhelper.uptodateproperty.skip", defaultValue="false") private boolean skip
Disables the plug-in execution.
-
fileSet
@Parameter(required=true) private org.apache.maven.shared.model.fileset.FileSet fileSet
The file set to check.
-
value
@Parameter(defaultValue="true") private java.lang.String value
The property value to set if the up-to-date condition is fulfilled.
-
elseValue
@Parameter(alias="else") private java.lang.String elseValue
The property value to set if the up-to-date condition is not fulfilled.
-
-