org.apache.tomcat.maven.plugin.tomcat6
Class AbstractI18NTomcat6Mojo

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

public abstract class AbstractI18NTomcat6Mojo
extends AbstractMojo

olamy: as long as maven plugin descriptor metadata generation doesn't support annotations outside of the same project, we must have those fields here

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
AbstractI18NTomcat6Mojo()
           
 
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(role=org.apache.tomcat.maven.common.messages.MessagesProvider.class)
protected MessagesProvider messagesProvider

path

@Parameter(property="maven.tomcat.path",
           defaultValue="/${project.artifactId}",
           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

AbstractI18NTomcat6Mojo

public AbstractI18NTomcat6Mojo()
Method Detail

getPath

protected String getPath()


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