Class SourceJarMojo
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
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AggregatorSourceJarMojo
@Mojo(name="jar",
defaultPhase=PACKAGE,
threadSafe=true)
@Execute(phase=GENERATE_SOURCES)
public class SourceJarMojo
extends SourceJarNoForkMojo
This plugin bundles all the sources into a jar archive.
- Since:
- 2.0.3
- Author:
- Trygve Laugstøl
-
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, execute, getExtension, getProject, getProject, getType, packageSources, packageSources, setProjectMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
SourceJarMojo
public SourceJarMojo()
-