Class AbstractFlattenMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.flatten.AbstractFlattenMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
CleanMojo, FlattenMojo
public abstract class AbstractFlattenMojo
extends org.apache.maven.plugin.AbstractMojo
This is the abstract base class for
MOJOs that realize the different goals of this plugin.- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Constructor Details
-
AbstractFlattenMojo
public AbstractFlattenMojo()The constructor.
-
-
Method Details
-
getFlattenedPomFilename
- Returns:
- the filename of the generated flattened POM file.
-
getOutputDirectory
- Returns:
- the directory where the generated flattened POM file will be written to.
-
getFlattenedPomFile
-
shouldSkip
protected boolean shouldSkip() -
shouldSkipGoal
protected abstract boolean shouldSkipGoal()
-