Package org.apache.maven.plugins.source
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 org.apache.maven.plugins.source.SourceJarNoForkMojo
classifier
-
Fields inherited from class org.apache.maven.plugins.source.AbstractSourceJarMojo
excludeResources, finalName, includePom, outputDirectory, reactorProjects
-
-
Constructor Summary
Constructors Constructor Description AggregatorSourceJarMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.apache.maven.plugins.source.SourceJarNoForkMojo
getClassifier, getResources, getSources
-
Methods inherited from class org.apache.maven.plugins.source.AbstractSourceJarMojo
addDirectory, addDirectory, archiveProjectContent, createArchiver, getExtension, getProject, getProject, getType, packageSources, packageSources, setProject
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Overrides:
execute
in classAbstractSourceJarMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-