<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<path>/appname</path>
<port>9090</port>
<uriEncoding>UTF-8</uriEncoding>
<url>http://localhost:9090/manager/html</url>
<server>tomcat6</server>
</configuration>
</plugin>
原文地址:http://blog.51cto.com/jtech/2114690