Thank you, I'll try to download these JAR-files manually! Why didn't I tried it? I thought, mvn will try to re-download them and fail again.
-----Original Message----- From: Bjoern Teipel [mailto:bjoern.tei...@internetbrands.com] Sent: Tuesday, October 29, 2013 6:31 PM To: users@cloudstack.apache.org Subject: Re: Can't compile CloudStack-4.2: I had issues with similar jars and here my quick fix: cd $HOME/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/ && \ wget http://repo1.maven.org/maven2/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2- mtompolicy-1.5.4.jar -O axis2-mtompolicy-1.5.4.jar cd $HOME/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10 && \ wget http://repo1.maven.org/maven2/org/apache/ws/commons/axiom/axiom-dom/1.2.10/a xiom-dom-1.2.10.jar -O axiom-dom-1.2.10.jar cd $HOME/.m2/repository/org/opensaml/opensaml1/1.1 && \ wget http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1/opensaml-1.1.jar -O opensaml1-1.1.jar cd $HOME/.m2/repository/commons-lang/commons-lang/2.3 && \ wget http://repo1.maven.org/maven2/commons-lang/commons-lang/2.3/commons-lang-2.3 .jar -O commons-lang-2.3.jar cd $HOME/.m2/repository/bouncycastle/bcprov-jdk14/140 && \ wget http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/140/bcprov-jdk14-140 .jar -O bcprov-jdk14-140.jar On 10/29/2013 02:10 AM, Vladimir Melnik wrote: > Dear colleagues, > > I'm using 2.2.14 and it holds about a hundred of instances). I decided > to try 4.2.0 in the testing lab, but I encountered a problem while I > was trying to build RPMs. That's what I've got: > > [INFO] Apache CloudStack Console Proxy ................... SUCCESS > [37.729s] [INFO] Apache CloudStack Client UI ....................... > SUCCESS [30.354s] [INFO] Apache CloudStack Console Proxy Plugin > ............ SUCCESS [0.840s] [INFO] Apache CloudStack AWS API Bridge > .................. FAILURE [49.932s] [INFO] > ---------------------------------------------------------------------- > -- > [INFO] BUILD FAILURE > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Total time: 12:16.096s > [INFO] Finished at: Sat Oct 26 14:13:44 EEST 2013 [INFO] Final Memory: > 55M/246M [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: > Compilation > failure: > [ERROR] error: error reading > /root/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; > error in opening zip file [ERROR] error: error reading > /root/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mto > mpolic y-1.5.4.jar; error in opening zip file [ERROR] error: error > reading > /root/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axio > m-dom- > 1.2.10.jar; error in opening zip file > [ERROR] error: error reading > /root/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; > error in opening zip file [ERROR] error: error reading > /root/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.ja > r; > error in opening zip file > > As I can see the problem is in downloading these JAR-files: > Downloading: > http://shibboleth.internet2.edu/downloads/maven2/org/apache/axis2/mex/ > 1.5.4/ > mex-1.5.4-impl.jar > Downloading: > http://shibboleth.internet2.edu/downloads/maven2/org/apache/axis2/axis > 2-mtom policy/1.5.4/axis2-mtompolicy-1.5.4.jar > Downloading: > http://shibboleth.internet2.edu/downloads/maven2/org/apache/axis2/addr > essing > /1.5.4/addressing-1.5.4.mar > Downloading: > http://shibboleth.internet2.edu/downloads/maven2/org/apache/ws/commons > /axiom /axiom-dom/1.2.10/axiom-dom-1.2.10.jar > Downloading: > http://shibboleth.internet2.edu/downloads/maven2/org/opensaml/opensaml > 1/1.1/ > opensaml1-1.1.jar > > I have several [WARNING]s (the builder said that "Checksum validation > failed") exactly for these files and, as I can see, these files aren't > there anymore. > > Honestly, Java is such a dark forest for me, so, please, can anyone > advice how to fix these links? > > Thank you very much! > -- Bjoern Teipel System Operation Manager UNIX Internet Brands 909 N. Sepulveda Blvd., 11th Floor El Segundo, CA 90245 P: (310) 280- 5287 bjoern.tei...@internetbrands.com