首页 > 代码库 > cargo failed to finish deploying within the timeout period [120000]

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

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

解决方法:配置timeout为0

 1 <plugin> 2     <groupId>org.codehaus.cargo</groupId> 3     <artifactId>cargo-maven2-plugin</artifactId> 4     <version>1.4.9</version> 5     <configuration> 6         <container> 7             <containerId>tomcat6x</containerId> 8             <timeout>0</timeout> 9             <type>remote</type>10         </container>11         <configuration>12             <type>runtime</type>13             <properties>14                 <cargo.remote.username>tomcat</cargo.remote.username>15                 <cargo.remote.password>tomcat</cargo.remote.password>16                 17                 <!-- tomcat7 18                 <cargo.remote.url>http://localhost:8080/manager/text</cargo.remote.url>-->19                 <!-- tomcat6 -->20                 <cargo.remote.uri>http://localhost:8080/manager</cargo.remote.uri>21                 22             </properties>23         </configuration>24     </configuration>25 </plugin>

 

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