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
-
Method Summary
Modifier and TypeMethodDescriptionGenerates the JAR.void
execute()
protected Boolean
org.apache.maven.project.MavenProject
org.apache.maven.settings.Settings
protected Boolean
void
setProject
(org.apache.maven.project.MavenProject project) void
setSettings
(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
-