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.SourceJarNoForkMojo
              extended by org.apache.maven.plugin.source.SourceJarMojo
All Implemented Interfaces:
ContextEnabled, 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
Version:
$Id: SourceJarMojo.java 1355857 2012-07-01 08:03:27Z olamy $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from class org.apache.maven.plugin.source.SourceJarNoForkMojo
classifier
 
Fields inherited from class org.apache.maven.plugin.source.AbstractSourceJarMojo
excludeResources, finalName, includePom, outputDirectory, project, reactorProjects
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SourceJarMojo()
           
 
Method Summary
 
Methods inherited from class org.apache.maven.plugin.source.SourceJarNoForkMojo
getClassifier, getResources, getSources
 
Methods inherited from class org.apache.maven.plugin.source.AbstractSourceJarMojo
addDirectory, addDirectory, archiveProjectContent, createArchiver, execute, getExtension, getProject, getType, 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()


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.