org.apache.maven.plugin.coreit
Class RuntimeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.AbstractDependencyMojo
          extended by org.apache.maven.plugin.coreit.RuntimeMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class RuntimeMojo
extends AbstractDependencyMojo

Creates text files that list the dependencies with scope runtime in the order returned from the Maven core.

Version:
$Id: RuntimeMojo.java 809429 2009-08-30 22:24:31Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
runtime
Requires the dependencies in this specified scope:
runtime

Field Summary
 
Fields inherited from class org.apache.maven.plugin.coreit.AbstractDependencyMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RuntimeMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
Methods inherited from class org.apache.maven.plugin.coreit.AbstractDependencyMojo
writeArtifacts
 
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

RuntimeMojo

public RuntimeMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Runs this mojo.

Throws:
MojoExecutionException - If the output file could not be created or any dependency could not be resolved.


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