Package org.codehaus.mojo.buildhelper
Class AbstractUpToDatePropertyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.AbstractUpToDatePropertyMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
UpToDatePropertiesMojo
,UpToDatePropertyMojo
Abstract base for setting properties according to whether sets of source and object resources are respectively up to
date with each other.
- Since:
- 1.12
-
Field Summary
FieldsFields inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
project
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(UpToDatePropertySetting config) private File
getFile
(org.apache.maven.shared.model.fileset.FileSet fileSet, boolean useOutputDirectory, String path) private boolean
isUpToDate
(File srcFile, File targetFile) Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProject
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
log
private final org.slf4j.Logger log
-
-
Constructor Details
-
AbstractUpToDatePropertyMojo
protected AbstractUpToDatePropertyMojo()
-
-
Method Details
-
execute
protected void execute(UpToDatePropertySetting config) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException - Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
isUpToDate
-