Try two things on your bash/zsh: export MAVEN_OPTS=-Xmx1024m #(to make sure mvn does not run out of memory) Pull the latest master; git pull origin master
Try again with -X, mvn -P reps -X (this enables debugging for you). If this still fails, probably you've the incorrect recently introduced xalan dependency. wget and copy all the xalan 2.7.1 pom, jar, checksum etc. to your ~/.m2/repository//org/apache/xalan/xalan/2.7.1/ http://mvnrepository.com/artifact/xalan/xalan/2.7.1 or just download the jar file and run: (not the recommended way but it should work) mvn install:install-file -Dfile=xalan.jar -DgroupId=org.apache.xalan -DartifactId=xalan -Dversion=2.7.1 -Dpackaging=jar On 19-Sep-2012, at 3:12 PM, Pedro Navarro Pérez <pedn...@gmail.com> wrote: > Hi all, > > I've done a clean git clone (branch master), and followed the Maven > instructions and I'm getting the next errors when executing mvn -P > deps: > > > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] error: error reading > /root/.m2/repository/org/apache/xalan/xalan/2.7.1/xalan-2.7.1.jar; > error in opening zip file > [INFO] 1 error > [INFO] ------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache CloudStack ................................. SUCCESS [6.316s] > [INFO] Apache CloudStack Utils ........................... SUCCESS [5.893s] > [INFO] Apache CloudStack API ............................. SUCCESS [2.418s] > [INFO] Apache XenSource XAPI ............................. SUCCESS [0.791s] > [INFO] Apache CloudStack Core ............................ SUCCESS [1.260s] > [INFO] Apache CloudStack Agents .......................... SUCCESS [2.068s] > [INFO] Apache CloudStack SystemVM Patches ................ SUCCESS [2.240s] > [INFO] Apache CloudStack Console Proxy ................... SUCCESS [4.168s] > [INFO] Apache CloudStack Server .......................... SUCCESS [2.003s] > [INFO] Apache CloudStack Usage Server .................... SUCCESS [0.650s] > [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.228s] > [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment > Planner SUCCESS [0.826s] > [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner > SUCCESS [0.406s] > [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [0.879s] > [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [1.089s] > [INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [1.179s] > [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SUCCESS [0.584s] > [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [1.226s] > [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer > SUCCESS [0.390s] > [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [0.495s] > [INFO] Apache CloudStack Plugin - Storage Allocator Random SUCCESS [0.430s] > [INFO] Apache CloudStack Plugin - User Authenticator LDAP SUCCESS [0.440s] > [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [0.717s] > [INFO] Apache CloudStack Plugin - User Authenticator Plain Text > SUCCESS [0.554s] > [INFO] Apache CloudStack VMware Base ..................... SUCCESS [1.007s] > [INFO] Apache CloudStack AWS API Bridge .................. FAILURE [1:28.658s] > [INFO] Apache CloudStack Test ............................ SKIPPED > [INFO] Apache CloudStack Dependencies .................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2:08.957s > [INFO] Finished at: Tue Sep 18 19:56:54 CEST 2012 > [INFO] Final Memory: 23M/58M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project cloud-awsapi: Compilation failure > [ERROR] error: error reading > /root/.m2/repository/org/apache/xalan/xalan/2.7.1/xalan-2.7.1.jar; > error in opening zip file > [ERROR] -> [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/MojoFailureException > > > When activating debug, the next fatal error is shown: > > [DEBUG] > ======================================================================= > [WARNING] The POM for org.apache.xalan:xalan:jar:2.7.1 is invalid, > transitive dependencies (if any) will not be available: 1 problem was > encountered while building the effective model > [FATAL] Non-parseable POM > /root/.m2/repository/org/apache/xalan/xalan/2.7.1/xalan-2.7.1.pom: > entity reference name can not contain character =' (position: END_TAG > seen ...afile = > \'/includes/php/parser/index-confluence.php?limit=3&doDesc=... @32:74) > @ line 32, column 74 > > > I've tried to clean my .m2 repository several times, but I get the same error. > > Any ideas? > > Thanks