81,095
社区成员
发帖
与我相关
我的任务
分享
<build>
<finalName>skt</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<wtpversion>2.0</wtpversion>
<additionalProjectFacets>
<jst.web>3.0</jst.web>
</additionalProjectFacets>
<downloadSources>true</downloadSources>
<!-- <downloadJavadocs>true</downloadJavadocs> -->
</configuration>
</plugin>
<!-- tomcat插件 --><!-- http://mojo.codehaus.org/tomcat-maven-plugin/ -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<url>
http://${server.ip}:${server.port}/manager/html
</url>
<path>/${server.path}</path>
<server>tomcat</server>
<port>${server.port}</port>
<uriEncoding>UTF-8</uriEncoding>
<!-- <serverXml>src/main/tomcatconf/tomcat6/server.xml</serverXml> -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<webResources>
<resource>
<directory>src/main/webenv/${package.environment}</directory>
<targetPath>/</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>