Tomcat 7 maven plugin complete configuration reference

Albert Gan picture Albert Gan · Nov 9, 2013 · Viewed 15.1k times · Source

I cant seem to find the online reference on tomcat 7 maven plugin configurations. Example :

<plugin>
    <groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat7-maven-plugin</artifactId>
    <version>2.1</version>

    <configuration>
        <!-- <server>tomcat7</server> -->
        <path>/</path>
        <aliases>
            <alias>myweb.com</alias>
            <alias>myweb.mydomain.com</alias>
        </aliases>
    </configuration>
    ...
</plugin>

Some examples i got so far that shows more of the configuration options:

  1. http://mojohaus.org/tomcat-maven-plugin/usage.html
  2. How do I configure an additional context path for Maven-Tomcat plugin?

But they are not the complete configuration reference. I wonder where the configurations reference are located ?

Answer

Olivier Lamy picture Olivier Lamy · Nov 10, 2013

Reference documentation is available in Apache Tomcat web site. Try http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/run-mojo.html