public class UberWarMojo extends AbstractUberWarMojo implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Constructor and Description |
---|
UberWarMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAllDependentJars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam)
Add all the JAR files specified into the merge - these will appear
in the WEB-INF/lib directory.
|
protected void |
addAllTransitiveJars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam)
Add all JAR files into the WAR file, calculated transitively and resolved in
the normal 'maven' way (I.E if 2 war files contain different versions, resolve to using
only *1* version).
|
protected void |
addAllWars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam) |
protected void |
addWar(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam,
String artifactIdent) |
void |
contextualize(org.codehaus.plexus.context.Context context) |
void |
execute()
Executes the UberWarMojo on the current project.
|
protected File |
getConfigDirectory() |
getProject, setProject
protected File getConfigDirectory()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractUberWarMojo
org.apache.maven.plugin.MojoExecutionException
- if an error occured while building the webappprotected void addAllTransitiveJars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam) throws org.apache.maven.plugin.MojoExecutionException
wam
- org.apache.maven.plugin.MojoExecutionException
protected void addAllDependentJars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam) throws org.apache.maven.plugin.MojoExecutionException
wam
- org.apache.maven.plugin.MojoExecutionException
protected void addWar(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam, String artifactIdent) throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionException
IOException
protected void addAllWars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam) throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionException
IOException
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
org.codehaus.plexus.context.ContextException
Copyright © 2004-2013 Codehaus. All Rights Reserved.