It appears that you're building your own project "myraveproject" and not out-of-the-box Rave. Is that correct?
Before running "mvn cargo:run" did you execute a mvn build at the top-level project, myraveproject in your case? Running "mvn install" at the top-level project will produce the war file which "mvn cargo:run" will look for when executing. The error indicates the war file is missing, so that may be the issue. Regards, -Stanton On Sun, Mar 2, 2014 at 9:42 AM, Paula Álvarez <[email protected]>wrote: > Hi, today I've downloaded rave from the repository and everything was fine > until I executed "mvn cargo:run". > The trace error is this: > [INFO] Scanning for projects...[WARNING] The POM for > org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency > information available[WARNING] Failed to retrieve plugin descriptor for > org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin > org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could > not be resolved: Failure to find > org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in > http://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced[INFO] > [INFO] > ------------------------------------------------------------------------[INFO] > Building My Rave Project :: myraveproject-portal 1.01.00-SNAPSHOT[INFO] > ------------------------------------------------------------------------[WARNING] > The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no > dependency information available[WARNING] Failed to retrieve plugin > descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin > org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could > not be resolved: Failure to find > org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in > http://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced[INFO] [INFO] --- > cargo-maven2-plugin:1.4.2:run (default-cli) @ myraveproject-portal > ---[INFO] [en2.ContainerRunMojo] Resolved container artifact > org.codehaus.cargo:cargo-core-container-tomcat:jar:1.4.2 for container > tomcat6x[INFO] > ------------------------------------------------------------------------[INFO] > BUILD FAILURE[INFO] > ------------------------------------------------------------------------[INFO] > Total time: 2.767s[INFO] Finished at: Sun Mar 02 15:35:42 CET 2014[INFO] > Final Memory: 13M/158M[INFO] > ------------------------------------------------------------------------[ERROR] > Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.2:run > (default-cli) on project myraveproject-portal: Execution default-cli of > goal org.codehaus.cargo:cargo-maven2-plugin:1.4.2:run failed: Failed to > create deployable with implementation class > org.codehaus.cargo.container.tomcat.TomcatWAR for the parameters (container > [id = [tomcat6x]], deployable type [war]). InvocationTargetException: > Failed to parse Tomcat WAR file in > [/home/ubuntuuser/Escritorio/Marzo2014/extensible/myraveproject/myraveproject-portal/target/myraveproject-portal-1.01.00-SNAPSHOT.war]: > Failed to find file > [/home/ubuntuuser/Escritorio/Marzo2014/extensible/myraveproject/myraveproject-portal/target/myraveproject-portal-1.01.00-SNAPSHOT.war]: > /home/ubuntuuser/Escritorio/Marzo2014/extensible/myraveproject/myraveproject-portal/target/myraveproject-portal-1.01.00-SNAPSHOT.war > (No existe el archivo o el directorio) -> [Help 1][ERROR] [ERROR] To see > the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] > Re-run Maven using the -X switch to enable full debug logging.[ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles:[ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > > It seems like a pom is missing but I don't know why. > Any ideas? > Thanks! > Paula.
