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)
Add all WARs from a merger.
|
protected void |
addWar(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam,
String artifactIdent)
Add a WAR to the uberwar.
|
void |
contextualize(org.codehaus.plexus.context.Context context)
Contextualize a context on the current container.
|
void |
execute()
Executes the UberWarMojo on the current project.
|
protected File |
getConfigDirectory() |
getProject, setProjectprotected File getConfigDirectory()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractUberWarMojoorg.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 - WAR archive manager.org.apache.maven.plugin.MojoExecutionException - If anything goes wrong.protected void addAllDependentJars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam)
throws org.apache.maven.plugin.MojoExecutionException
wam - WAR archive manager.org.apache.maven.plugin.MojoExecutionException - If anything goes wrong.protected void addWar(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam,
String artifactIdent)
throws org.apache.maven.plugin.MojoExecutionException,
IOException
wam - WAR archive merger.artifactIdent - Artifact identifier.org.apache.maven.plugin.MojoExecutionException - If mojos fail.IOException - If reading or writing fails.protected void addAllWars(org.codehaus.cargo.module.webapp.merge.WarArchiveMerger wam)
throws org.apache.maven.plugin.MojoExecutionException,
IOException
wam - WAR archive merger.org.apache.maven.plugin.MojoExecutionException - If mojos fail.IOException - If reading or writing fails.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.Contextualizablecontext - Context to contextualize.org.codehaus.plexus.context.ContextException - If anything goes wrong.Copyright © 2004–2018 Github. All rights reserved.