public abstract class AbstractI18NTomcat6Mojo extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected MessagesProvider |
messagesProvider |
protected String |
path
The webapp context path to use for the web application being run.
|
protected org.apache.maven.settings.Settings |
settings |
ROLE
Constructor and Description |
---|
AbstractI18NTomcat6Mojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkTomcatResponse(TomcatManagerResponse tomcatResponse)
Check response of Tomcat to know if ok or not.
|
protected String |
getPath() |
getLog, getPluginContext, setLog, setPluginContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
@Component protected org.apache.maven.settings.Settings settings
@Component(role=MessagesProvider.class) protected MessagesProvider messagesProvider
@Parameter(property="maven.tomcat.path", defaultValue="/${project.artifactId}", required=true) protected String path
protected String getPath()
protected void checkTomcatResponse(TomcatManagerResponse tomcatResponse) throws org.apache.maven.plugin.MojoExecutionException
tomcatResponse
- response of tomcat return by TomcatManager classorg.apache.maven.plugin.MojoExecutionException
- if HTTP status code greater than 400 (included)Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.