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

public abstract class AbstractFlattenMojo extends 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)
  • Constructor Details

    • AbstractFlattenMojo

      public AbstractFlattenMojo()
      The constructor.
  • Method Details

    • getFlattenedPomFilename

      public String getFlattenedPomFilename()
      Returns:
      the filename of the generated flattened POM file.
    • getOutputDirectory

      public File getOutputDirectory()
      Returns:
      the directory where the generated flattened POM file will be written to.
    • getFlattenedPomFile

      protected File getFlattenedPomFile()
      Returns:
      a File instance pointing to the flattened POM.
    • shouldSkip

      protected boolean shouldSkip()
    • shouldSkipGoal

      protected abstract boolean shouldSkipGoal()