org.apache.maven.plugins.mavenone
Class MavenOnePluginMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugins.mavenone.MavenOnePluginMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class MavenOnePluginMojo
extends AbstractMojo

Package a Maven 1 plugin.

Is defined by the goal name:
maven-one-plugin
Is bound to the specified phase of the standard build lifecycle:
package

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MavenOnePluginMojo()
           
 
Method Summary
 File createArchive()
          Generates the JAR.
 void execute()
          Generates the JAR.
 
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

MavenOnePluginMojo

public MavenOnePluginMojo()
Method Detail

createArchive

public File createArchive()
                   throws MojoExecutionException
Generates the JAR.

Throws:
MojoExecutionException

execute

public void execute()
             throws MojoExecutionException
Generates the JAR.

Throws:
MojoExecutionException


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.