org.apache.maven.plugin.coreit
Class LoadDependenciesMojo

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

public class LoadDependenciesMojo
extends AbstractLoadMojo

Loads classes and/or resources from a custom class loader that holds the project dependencies and records the results in a properties file.

Version:
$Id: LoadDependenciesMojo.java 799883 2009-08-01 15:06:37Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
load-dependencies
Is bound to the specified phase of the standard build lifecycle:
initialize
Requires the dependencies in this specified scope:
compile

Field Summary
 
Fields inherited from class org.apache.maven.plugin.coreit.AbstractLoadMojo
classNames, resourcePaths
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LoadDependenciesMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
Methods inherited from class org.apache.maven.plugin.coreit.AbstractLoadMojo
execute
 
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

LoadDependenciesMojo

public LoadDependenciesMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Runs this mojo.

Throws:
MojoExecutionException - If the output file could not be created.


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