Cargo 1.2 and beyond fail to create the home directory for standalone deployements

Description

in the pom

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.2.0</version> <configuration> <container> <containerId>tomcat7x</containerId> <home>E:/appft/apache-tomcat-7.0.29</home> </container> <configuration> <!-- for an unknow reason, cargo do not create the directory !!! --> <home>target/tomcat7x</home> <type>standalone</type> </configuration> <deployables> <deployable> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <type>war</type> </deployable> </deployables> </configuration> </plugin>

Console output

1 2 3 4 5 6 7 8 9 10 11 [INFO] --- cargo-maven2-plugin:1.2.0:deploy (default-cli) @ wicket-quickstart --- [INFO] [edDeployerDeployMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-tomcat:jar:1.2.0 for container tomcat7x [INFO] [stalledLocalDeployer] Deploying [E:\SLGD6749\Data\Projet-TAO\00_workspace\Etude Wicket\wicket-quickstart\target\wicket-quickstart-1.0.2-SNAPSHOT.war] to [target/tomcat7x/webapps]... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.031s [INFO] Finished at: Wed Aug 01 12:35:44 CEST 2012 [INFO] Final Memory: 9M/23M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.2.0:deploy (default-cli) on project wicket-quickstart: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.2.0:deploy failed: Failed to deploy [E:\SLGD6749\Data\Projet-TAO\00_workspace\Etude Wicket\wicket-quickstart\target\wicket-quickstart-1.0.2-SNAPSHOT.war] to [target/tomcat7x/webapps]: Target deployable directory does not exist: target/tomcat7x/webapps -> [Help 1]

Status

Assignee

Unassigned

Reporter

S. Ali Tokmen

Components

Fix versions

Affects versions

1.2.3

Priority

Blocker