@Mojo(name="jar-no-fork", defaultPhase=PACKAGE, threadSafe=true) public class SourceJarNoForkMojo extends AbstractSourceJarMojo
Modifier and Type | Field and Description |
---|---|
protected String |
classifier |
excludeResources, finalName, includePom, outputDirectory, project, reactorProjects
Constructor and Description |
---|
SourceJarNoForkMojo() |
Modifier and Type | Method and Description |
---|---|
protected String |
getClassifier() |
protected List<Resource> |
getResources(org.apache.maven.project.MavenProject p) |
protected List<String> |
getSources(org.apache.maven.project.MavenProject p) |
addDirectory, addDirectory, archiveProjectContent, createArchiver, execute, getExtension, getProject, getType, packageSources, packageSources
getLog, getPluginContext, setLog, setPluginContext
@Parameter(property="maven.source.classifier", defaultValue="sources") protected String classifier
protected List<String> getSources(org.apache.maven.project.MavenProject p)
getSources
in class AbstractSourceJarMojo
p
- not nullprotected List<Resource> getResources(org.apache.maven.project.MavenProject p)
getResources
in class AbstractSourceJarMojo
p
- not nullprotected String getClassifier()
getClassifier
in class AbstractSourceJarMojo
sources
or test-sources
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.