Tomcat插件配置

<plugins>
    <plugin>
      <groupId>org.apache.tomcat.maven</groupId>
      <artifactId>tomcat7-maven-plugin</artifactId>
      <version>2.2</version>
      <configuration>
        <!--端口-->
        <port>80</port>
        <!--路径-->
        <path>/</path>
      </configuration>
    </plugin>
  </plugins>

 

您可能还喜欢...