Package org.codehaus.mojo.flatten
Class AbstractFlattenMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.flatten.AbstractFlattenMojo
- All Implemented Interfaces:
ContextEnabled
,Mojo
- Direct Known Subclasses:
CleanMojo
,FlattenMojo
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
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
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
- Returns:
- a
File
instance pointing to the flattened POM.
-
shouldSkip
protected boolean shouldSkip() -
shouldSkipGoal
protected abstract boolean shouldSkipGoal()
-