This project has retired. For details please refer to its
Attic page .
AbstractDeployMojo (Cocoon Maven Plugin 1.0.2 API)
org.apache.cocoon.maven.deployer
Class AbstractDeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.war.AbstractWarMojo
org.apache.cocoon.maven.deployer.AbstractDeployMojo
All Implemented Interfaces: org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses: DeployExplodedMojo , DeployWarMojo
public abstract class AbstractDeployMojo extends org.apache.maven.plugin.war.AbstractWarMojo
Create a Cocoon web application based on a block deployment descriptor.
Version:
$Id: AbstractDeployMojo.html 1351235 2012-06-18 08:41:39Z ilgrosso $
Fields inherited from class org.apache.maven.plugin.war.AbstractWarMojo
archive, archiverManager
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
Method Summary
protected void
deployWebapp ()
Deploy a monolithic Cocoon web application.
static Map
getBlockArtifactsAsMap (org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log)
Create a Map
of java.io.File
objects
pointing to artifacts.
static void
xpatch (Map libraries,
File [] xpatchFiles,
File basedir,
org.apache.maven.plugin.logging.Log log)
Methods inherited from class org.apache.maven.plugin.war.AbstractWarMojo
buildExplodedWebapp, buildWebapp, copyResources, copyResources, createJarArchive, getClassesDirectory, getContainerConfigXML, getDependentWarExcludes, getDependentWarIncludes, getExcludes, getIncludes, getProject, getWarSourceDirectory, getWebappDirectory, getWebXml, setClassesDirectory, setContainerConfigXML, setProject, setWarSourceDirectory, setWebappDirectory, setWebXml
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
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
AbstractDeployMojo
public AbstractDeployMojo ()
deployWebapp
protected void deployWebapp ()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
Deploy a monolithic Cocoon web application. This means it doesn't use the
features that the blocks-fw offers.
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
xpatch
public static void xpatch (Map libraries,
File [] xpatchFiles,
File basedir,
org.apache.maven.plugin.logging.Log log)
throws DeploymentException
Throws:
DeploymentException
getBlockArtifactsAsMap
public static Map getBlockArtifactsAsMap (org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log)
throws org.apache.maven.plugin.MojoExecutionException
Create a Map
of java.io.File
objects
pointing to artifacts.
Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 1999-2012 The Apache Software Foundation . All Rights Reserved.