org.codehaus.mojo.cis
Class AbstractCisWarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.cis.AbstractCisWarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CisWarExplodedMojo, CisWarInPlaceMojo, CisWarManifestMojo, CisWarMojo

public abstract class AbstractCisWarMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCisWarMojo()
           
 
Method Summary
protected  java.io.File createStartappsXmlFile()
           
protected  java.io.File createWebXmlFile()
           
 void execute()
           
protected  void initCisApp(org.apache.maven.plugin.war.AbstractWarMojo warMojo)
           
protected  void initWarMojo(org.apache.maven.plugin.war.AbstractWarMojo warMojo)
          Initializes the war mojo.
protected abstract  org.apache.maven.plugin.war.AbstractWarMojo newWarMojo()
          Called for creating a new war mojo, which does the actual work.
protected  void setParameter(org.apache.maven.plugin.war.AbstractWarMojo warMojo, java.lang.String parameterName, java.lang.Object value)
           
 
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

AbstractCisWarMojo

public AbstractCisWarMojo()
Method Detail

newWarMojo

protected abstract org.apache.maven.plugin.war.AbstractWarMojo newWarMojo()
Called for creating a new war mojo, which does the actual work.


setParameter

protected void setParameter(org.apache.maven.plugin.war.AbstractWarMojo warMojo,
                            java.lang.String parameterName,
                            java.lang.Object value)
                     throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

initWarMojo

protected void initWarMojo(org.apache.maven.plugin.war.AbstractWarMojo warMojo)
                    throws org.apache.maven.plugin.MojoExecutionException
Initializes the war mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException

createStartappsXmlFile

protected java.io.File createStartappsXmlFile()
                                       throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

createWebXmlFile

protected java.io.File createWebXmlFile()
                                 throws org.apache.maven.plugin.MojoFailureException,
                                        org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

initCisApp

protected void initCisApp(org.apache.maven.plugin.war.AbstractWarMojo warMojo)
                   throws org.apache.maven.plugin.MojoExecutionException,
                          org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

execute

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


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.