Package org.alfresco.maven.plugin.config
Class TomcatWebapp
- java.lang.Object
-
- org.alfresco.maven.plugin.config.MavenDependency
-
- org.alfresco.maven.plugin.config.TomcatWebapp
-
public class TomcatWebapp extends MavenDependency
Tomcat Webapp used in Embedded Tomcat Maven plugin configuration. These are custom webapps that you would want to include for some reason (The {webapp artifact}.war need to be available in a Maven Repo). Note. the standard webapps are included with plugin properties such as enablePlatform and enableShare.
Alfresco Maven Plugin config looks something like this:<tomcatWebapps> <tomcatWebapp> <groupId>com.exari</groupId> <artifactId>exari-docgen-cmwar</artifactId> <version>${project.version}</version> <contextPath>/exari</contextPath> <contextFile>${project.build.directory}/contexts/context-docgen.xml</contextFile> </tomcatWebapp> <tomcatWebapps>- Since:
- 3.0.0
- Version:
- 1.0
- Author:
- martin.bergljung@alfresco.com
-
-
Constructor Summary
Constructors Constructor Description TomcatWebapp()TomcatWebapp(String g, String a, String v, String contextPath, String contextFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetContextFile()StringgetContextPath()inthashCode()StringtoString()-
Methods inherited from class org.alfresco.maven.plugin.config.MavenDependency
getArtifactId, getClassifier, getGroupId, getVersion, setArtifactId, setClassifier, setGroupId, setVersion
-
-
-
-
Method Detail
-
getContextPath
public String getContextPath()
-
getContextFile
public String getContextFile()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classMavenDependency
-
hashCode
public int hashCode()
- Overrides:
hashCodein classMavenDependency
-
toString
public String toString()
- Overrides:
toStringin classMavenDependency
-
-