org.apache.tomcat.maven.plugin.tomcat7.run
Class AbstractExecWarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
          extended by org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo
All Implemented Interfaces:
ContextEnabled, Mojo
Direct Known Subclasses:
ExecWarMojo, ExecWarOnlyMojo

public abstract class AbstractExecWarMojo
extends AbstractTomcat7Mojo

Since:
2.0
Author:
Olivier Lamy

Field Summary
protected  org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
           
protected  String path
          The webapp context path to use for the web application being run.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos
          List of Remote Repositories used by the resolver
protected  List<WarRunDependency> warRunDependencies
           
 
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
messagesProvider
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractExecWarMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
getPath
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
The maven project.

Is defined by:
default-value:
${project}
Is readonly.
Is required.

path

protected String path
The webapp context path to use for the web application being run. The name to store webapp in exec jar. Do not use /

Is defined by:
expression:
${maven.tomcat.path}
default-value:
${project.artifactId}
Is required.

warRunDependencies

protected List<WarRunDependency> warRunDependencies
Is defined by:

artifactResolver

protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
Is a Plexus component defined by:

remoteRepos

protected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos
List of Remote Repositories used by the resolver

Is defined by:
expression:
${project.remoteArtifactRepositories}
Is readonly.
Is required.
Constructor Detail

AbstractExecWarMojo

public AbstractExecWarMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.