Hi!

When i run mvn install to deploy my EAR, i get this fatal error:

[INFO] Deployable failed to finish deploying within the timeout period
[20000].
The Deployable state is thus unknown.
...

but when i saw in my c:/jbossHome/.../deploy... my EAR was copied to there.
I realized that happens when i put these lines on my pom.xml:

...
     <plugin>
       <groupId>org.codehaus.cargo</groupId>
       <artifactId>cargo-maven2-plugin</artifactId>

      <!-- these are the lines that i´m talking about -->
       <executions>
         <execution>
           <id>verify-deploy</id>
           <phase>install</phase>
           <goals>
             <goal>deployer-deploy</goal>
           </goals>
         </execution>
         <execution>
           <id>clean-undeploy</id>
           <phase>pre-clean</phase>
           <goals>
             <goal>deployer-undeploy</goal>
           </goals>
         </execution>
       </executions>
     ...
     </plugin>

What am i doing wrong?
Any clue?

Regards,

Leo

Reply via email to