Class AggregatorSourceJarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.source.AbstractSourceJarMojo
org.apache.maven.plugins.source.SourceJarNoForkMojo
org.apache.maven.plugins.source.SourceJarMojo
org.apache.maven.plugins.source.AggregatorSourceJarMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="aggregate",
defaultPhase=PACKAGE,
aggregator=true,
threadSafe=true)
@Execute(phase=GENERATE_SOURCES)
public class AggregatorSourceJarMojo
extends SourceJarMojo
Aggregate sources for all modules in an aggregator project.
- Since:
- 2.0.3
-
Field Summary
Fields inherited from class SourceJarNoForkMojo
classifierFields inherited from class AbstractSourceJarMojo
excludeResources, finalName, includePom, outputDirectory, reactorProjectsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SourceJarNoForkMojo
getClassifier, getResources, getSourcesMethods inherited from class AbstractSourceJarMojo
addDirectory, addDirectory, archiveProjectContent, createArchiver, getExtension, getProject, getProject, getType, packageSources, packageSources, setProjectMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
AggregatorSourceJarMojo
public AggregatorSourceJarMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classAbstractSourceJarMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-