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
projectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(UpToDatePropertySetting config) private FilegetFile(org.apache.maven.shared.model.fileset.FileSet fileSet, boolean useOutputDirectory, String path) private booleanisUpToDate(File srcFile, File targetFile) Methods inherited from class org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
defineProperty, getProjectMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
isUpToDate
-