Class YamlCombineMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.randomnoun.maven.plugin.yamlCombine.YamlCombineMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="yaml-combine", defaultPhase=GENERATE_SOURCES) public class YamlCombineMojo extends org.apache.maven.plugin.AbstractMojo
Maven goal which combines a bunch of yaml files into a big yaml file.
  • Constructor Details

  • Method Details

    • createCombinedYaml

      public File createCombinedYaml() throws org.apache.maven.plugin.MojoExecutionException
      Generates the JAR.
      Returns:
      The instance of File for the created archive file.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - in case of an error.
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getFiltering

      protected Boolean getFiltering()
    • getVerbose

      protected Boolean getVerbose()
    • getProject

      public org.apache.maven.project.MavenProject getProject()
      Returns:
      the project
    • setProject

      public void setProject(org.apache.maven.project.MavenProject project)
      Parameters:
      project - the project to set
    • getSettings

      public org.apache.maven.settings.Settings getSettings()
      Returns:
      the settings
    • setSettings

      public void setSettings(org.apache.maven.settings.Settings settings)
      Parameters:
      settings - the settings to set