org.codehaus.cargo.maven2
Class UberWarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.cargo.maven2.AbstractCommonMojo
          extended by org.codehaus.cargo.maven2.UberWarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class UberWarMojo
extends AbstractCommonMojo

Build an uberwar.

Version:
$Id: $

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UberWarMojo()
           
 
Method Summary
protected  void addAllWars(org.codehaus.cargo.module.webapp.WarArchiveMerger wam)
           
protected  void addWar(org.codehaus.cargo.module.webapp.WarArchiveMerger wam, java.lang.String artifactIdent)
           
 void execute()
          Executes the UberWarMojo on the current project.
protected  org.codehaus.cargo.module.merge.strategy.MergeStrategy makeStrategy(org.codehaus.plexus.util.xml.Xpp3Dom config)
           
 
Methods inherited from class org.codehaus.cargo.maven2.AbstractCommonMojo
getProject
 
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

UberWarMojo

public UberWarMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Executes the UberWarMojo on the current project.

Throws:
org.apache.maven.plugin.MojoExecutionException - if an error occured while building the webapp

makeStrategy

protected org.codehaus.cargo.module.merge.strategy.MergeStrategy makeStrategy(org.codehaus.plexus.util.xml.Xpp3Dom config)
                                                                       throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

addWar

protected void addWar(org.codehaus.cargo.module.webapp.WarArchiveMerger wam,
                      java.lang.String artifactIdent)
               throws org.apache.maven.plugin.MojoExecutionException,
                      java.io.IOException
Throws:
org.apache.maven.plugin.MojoExecutionException
java.io.IOException

addAllWars

protected void addAllWars(org.codehaus.cargo.module.webapp.WarArchiveMerger wam)
                   throws org.apache.maven.plugin.MojoExecutionException,
                          java.io.IOException
Throws:
org.apache.maven.plugin.MojoExecutionException
java.io.IOException


Copyright © 2004-2010 Codehaus. All Rights Reserved.