org.apache.maven.plugin.source
Class SourceJarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.source.AbstractSourceJarMojo
          extended by org.apache.maven.plugin.source.SourceJarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AggregatorSourceJarMojo

public class SourceJarMojo
extends AbstractSourceJarMojo

This plugin bundles all the sources into a jar archive.

Version:
$Id: AbstractSourceJarMojo.java 389062 2006-03-27 08:19:25Z aramirez $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from class org.apache.maven.plugin.source.AbstractSourceJarMojo
finalName, outputDirectory, project, reactorProjects
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SourceJarMojo()
           
 
Method Summary
protected  java.lang.String getClassifier()
           
protected  java.util.List getResources(org.apache.maven.project.MavenProject project)
           
protected  java.util.List getSources(org.apache.maven.project.MavenProject project)
           
 
Methods inherited from class org.apache.maven.plugin.source.AbstractSourceJarMojo
addDirectory, archiveProjectContent, attachArtifact, createArchiver, execute, getProject, packageSources, packageSources
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceJarMojo

public SourceJarMojo()
Method Detail

getSources

protected java.util.List getSources(org.apache.maven.project.MavenProject project)
Specified by:
getSources in class AbstractSourceJarMojo

getResources

protected java.util.List getResources(org.apache.maven.project.MavenProject project)
Specified by:
getResources in class AbstractSourceJarMojo

getClassifier

protected java.lang.String getClassifier()
Specified by:
getClassifier in class AbstractSourceJarMojo


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.