maven-tomcat-plugin編喘
扮寂:2010-12-22 BlogJava kuuyee
maven-tomcat-plugin嬬校圭宴議何俸war哘喘欺云仇賜垓殻議tomcat貧,系三 富傍,心旗鷹,和中頁揮嗤maven-tomcat-plugin塘崔議pom.xml
<properties>
<!-- Cargo settings -->
<cargo.container.manager.url>http://192.168.1.107/manager</ca rgo.container.manager.url>
<cargo.container.username>admin</cargo.container.username>
<cargo.container.password>123456</cargo.container.password> ;
<cargo.wait>false</cargo.wait>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<configuration>
<path>/runes</path>
<url>${cargo.container.manager.url}</url>
<username>${cargo.container.username}</username>
<password>${cargo.container.password}</password>
<warDirectory>${basedir}/src/main/webapp</warDirectory>
</configuration>
<executions>
<execution>
<id>tomcat-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
<!--execution>
<id>undeploy</id>
<phase>deploy</phase>
<goals>
<goal>start</goal>
</goals>
</execution-->
</executions>
</plugin>
</plugins>
</build>
maven-tomcat-plugin宥狛tomcat議manager陣崙岬栖deploy賜undeploy哘喘, 侭參勣委低議tomcat議?購佚連塘崔貧,淫凄manager url,喘薩兆式畜鷹吉! |