org.apache.maven.plugin.source
Class JarDefaultSourceMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.source.AbstractJarSourceMojo
          extended by org.apache.maven.plugin.source.JarDefaultSourceMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JarDefaultSourceMojo
extends AbstractJarSourceMojo

This plugin bundles all the generated sources into a jar archive.

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

Field Summary
 
Fields inherited from class org.apache.maven.plugin.source.AbstractJarSourceMojo
finalName, outputDirectory, packaging
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JarDefaultSourceMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.source.AbstractJarSourceMojo
addDirectories, attachArtifact, createJar, getDefaultSources, getExecutedProject, getPackaging, getProject, getTestSources, setExecutedProject, setPackaging, setProject
 
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

JarDefaultSourceMojo

public JarDefaultSourceMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Specified by:
execute in class AbstractJarSourceMojo
Throws:
org.apache.maven.plugin.MojoExecutionException


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