cargo failed to finish deploying within the timeout period [120000]

时间:2023-03-08 18:06:26
cargo failed to finish deploying within the timeout period [120000]

cargo插件,报错:failed to finish deploying within the timeout period [120000]

解决方法:配置timeout为0

 <plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.</version>
<configuration>
<container>
<containerId>tomcat6x</containerId>
<timeout>0</timeout>
<type>remote</type>
</container>
<configuration>
<type>runtime</type>
<properties>
<cargo.remote.username>tomcat</cargo.remote.username>
<cargo.remote.password>tomcat</cargo.remote.password> <!-- tomcat7
<cargo.remote.url>http://localhost:8080/manager/text</cargo.remote.url>-->
<!-- tomcat6 -->
<cargo.remote.uri>http://localhost:8080/manager</cargo.remote.uri> </properties>
</configuration>
</configuration>
</plugin>