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.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerates the JAR.voidexecute()protected Booleanorg.apache.maven.project.MavenProjectorg.apache.maven.settings.Settingsprotected BooleanvoidsetProject(org.apache.maven.project.MavenProject project) voidsetSettings(org.apache.maven.settings.Settings settings) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
YamlCombineMojo
public YamlCombineMojo()
-
-
Method Details
-
createCombinedYaml
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
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getFiltering
-
getVerbose
-
getProject
- Returns:
- the project
-
setProject
- Parameters:
project- the project to set
-
getSettings
- Returns:
- the settings
-
setSettings
- Parameters:
settings- the settings to set
-