public abstract class AbstractTomcat7Mojo 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 |
---|
AbstractTomcat7Mojo() |
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 protected MessagesProvider messagesProvider
@Parameter(defaultValue="/${project.artifactId}", property="maven.tomcat.path", 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.