Package org.codehaus.mojo.flatten
Class CleanMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.flatten.AbstractFlattenMojo
org.codehaus.mojo.flatten.CleanMojo
- All Implemented Interfaces:
ContextEnabled
,Mojo
@Mojo(name="clean",
defaultPhase=CLEAN,
requiresProject=true,
requiresDirectInvocation=false,
executionStrategy="once-per-session",
threadSafe=true)
public class CleanMojo
extends AbstractFlattenMojo
This MOJO realizes the goal
flatten:clean
that deletes any files created by
flatten:flatten
(more specific the flattened POM file which is by default
.flattened-pom.xml
). See also MOJO-2030 for
further details.- Since:
- 1.0.0-beta-2
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.flatten.AbstractFlattenMojo
getFlattenedPomFile, getFlattenedPomFilename, getOutputDirectory, shouldSkip
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
CleanMojo
public CleanMojo()The constructor.
-
-
Method Details
-
execute
-
shouldSkipGoal
protected boolean shouldSkipGoal()- Specified by:
shouldSkipGoal
in classAbstractFlattenMojo
-