Question

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 ?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top