org.apache.tomcat.maven.plugin.tomcat7
Class AbstractTomcat7Mojo

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

public abstract class AbstractTomcat7Mojo
extends AbstractMojo

Since:
2.0
Author:
Olivier Lamy

Field Summary
protected  MessagesProvider messagesProvider
           
protected  String path
          The webapp context path to use for the web application being run.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractTomcat7Mojo()
           
 
Method Summary
protected  String 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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

messagesProvider

@Component
protected MessagesProvider messagesProvider

path

@Parameter(defaultValue="/${project.artifactId}",
           property="maven.tomcat.path",
           required=true)
protected String path
The webapp context path to use for the web application being run. This must always start with a forward-slash ('/').

Constructor Detail

AbstractTomcat7Mojo

public AbstractTomcat7Mojo()
Method Detail

getPath

protected String getPath()


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