org.apache.tomcat.maven.plugin.tomcat7.run
Class AbstractStandaloneWarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractStandaloneWarMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- StandaloneWarMojo, StandaloneWarOnlyMojo
public abstract class AbstractStandaloneWarMojo
- extends AbstractExecWarMojo
Abstract Mojo for building deployable and executable war files
- Since:
- 2.1
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo |
accessLogValveFormat, artifactFactory, artifactResolver, attachArtifact, buildDirectory, connectorHttpProtocol, enableNaming, excludes, extraDependencies, extraResources, httpPort, local, mainClass, path, pluginArtifacts, project, projectArtifact, projectHelper, remoteRepos, serverXml, tomcatConfigurationFilesDirectory, warRunDependencies |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
finalName
@Parameter(property="tomcat.jar.finalName",
defaultValue="${project.artifactId}-${project.version}-standalone.war",
required=true)
protected String finalName
- Name of the generated WAR.
attachArtifactClassifier
@Parameter(property="maven.tomcat.exec.war.attachArtifactClassifier",
defaultValue="standalone",
required=true)
protected String attachArtifactClassifier
- the classifier to use for the attached/generated artifact
attachArtifactClassifierType
@Parameter(property="maven.tomcat.exec.war.attachArtifactType",
defaultValue="war",
required=true)
protected String attachArtifactClassifierType
- the type to use for the attached/generated artifact
- Since:
- 2.2
AbstractStandaloneWarMojo
public AbstractStandaloneWarMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class AbstractExecWarMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.