org.appfuse
Class AddClassesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.appfuse.AddClassesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AddClassesMojo
extends org.apache.maven.plugin.AbstractMojo

Allows war artifacts to be used as fully fledged dependencies by including the WEB-INF/classes directory on the compile classpath.

It does this by creating a "fake" dependency on the project that points to the jar'ed contents of the WEB-INF/classes directory of any war file included on the project as a dependency of type warpath. The introduced dependency has scope system to prevent it being included in war files.

Author:
Michael Horwitz

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AddClassesMojo()
           
 
Method Summary
 void 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

AddClassesMojo

public AddClassesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2003-2007. All Rights Reserved.