You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Chip Childers <ch...@sungard.com> on 2013/08/05 20:25:07 UTC

4.1.1 Build issue for CentOS - errors on AWSAPI depenencies

Hi all,

Trying to build 4.1.1 into the appropriate RPMs, and I'm hitting the
following error during the process.  Any clues / ideas?  I've cleaned our
~/.m2/repository and tried again, but same issue.



[INFO] Apache CloudStack AWS API Bridge .................. FAILURE [55.762s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5:14.484s
[INFO] Finished at: Mon Aug 05 19:20:34 IST 2013
[INFO] Final Memory: 47M/206M
[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
/home/sg-user/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar;
error in opening zip file
[ERROR] error: error reading
/home/sg-user/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
error in opening zip file
[ERROR] error: error reading
/home/sg-user/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
error in opening zip file
[ERROR] error: error reading
/home/sg-user/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar;
error in opening zip file
[ERROR] error: error reading
/home/sg-user/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :cloud-awsapi

Re: 4.1.1 Build issue for CentOS - errors on AWSAPI depenencies

Posted by Chip Childers <ch...@sungard.com>.
Great!  That's what I was building the RPM's for.  Glad they helped.


On Thu, Aug 08, 2013 at 08:18:23PM +0530, Amit Das wrote:
> We downloaded the RPMs from the mirror site & got the installation done.
> 
> Regards,
> Amit
> *CloudByte Inc.* <http://www.cloudbyte.com/>
> 
> 
> On Thu, Aug 8, 2013 at 6:42 PM, Chip Childers <ch...@sungard.com>wrote:
> 
> > On Thu, Aug 08, 2013 at 12:06:16PM +0530, Amit Das wrote:
> > > Hi,
> > >
> > > Do we have any workaround for this issue ?
> > >
> > > Regards,
> > > Amit
> > > *CloudByte Inc.* <http://www.cloudbyte.com/>
> >
> > Since I didn't have time to figure out what was going wrong, I copied
> > the missing jars from another machine into my .m2/repository folder.
> > Not ideal, but it worked as a workaround.
> >
> > >
> > >
> > > On Mon, Aug 5, 2013 at 11:55 PM, Chip Childers <
> > chip.childers@sungard.com>wrote:
> > >
> > > > Hi all,
> > > >
> > > > Trying to build 4.1.1 into the appropriate RPMs, and I'm hitting the
> > > > following error during the process.  Any clues / ideas?  I've cleaned
> > our
> > > > ~/.m2/repository and tried again, but same issue.
> > > >
> > > >
> > > >
> > > > [INFO] Apache CloudStack AWS API Bridge .................. FAILURE
> > > > [55.762s]
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] BUILD FAILURE
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Total time: 5:14.484s
> > > > [INFO] Finished at: Mon Aug 05 19:20:34 IST 2013
> > > > [INFO] Final Memory: 47M/206M
> > > > [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
> > > >
> > /home/sg-user/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar;
> > > > error in opening zip file
> > > > [ERROR] error: error reading
> > > >
> > > >
> > /home/sg-user/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
> > > > error in opening zip file
> > > > [ERROR] error: error reading
> > > >
> > > >
> > /home/sg-user/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
> > > > error in opening zip file
> > > > [ERROR] error: error reading
> > > >
> > /home/sg-user/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar;
> > > > error in opening zip file
> > > > [ERROR] error: error reading
> > > >
> > > >
> > /home/sg-user/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.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
> > > > [ERROR]
> > > > [ERROR] After correcting the problems, you can resume the build with
> > the
> > > > command
> > > > [ERROR]   mvn <goals> -rf :cloud-awsapi
> > > >
> >

Re: 4.1.1 Build issue for CentOS - errors on AWSAPI depenencies

Posted by Amit Das <am...@cloudbyte.com>.
We downloaded the RPMs from the mirror site & got the installation done.

Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>


On Thu, Aug 8, 2013 at 6:42 PM, Chip Childers <ch...@sungard.com>wrote:

> On Thu, Aug 08, 2013 at 12:06:16PM +0530, Amit Das wrote:
> > Hi,
> >
> > Do we have any workaround for this issue ?
> >
> > Regards,
> > Amit
> > *CloudByte Inc.* <http://www.cloudbyte.com/>
>
> Since I didn't have time to figure out what was going wrong, I copied
> the missing jars from another machine into my .m2/repository folder.
> Not ideal, but it worked as a workaround.
>
> >
> >
> > On Mon, Aug 5, 2013 at 11:55 PM, Chip Childers <
> chip.childers@sungard.com>wrote:
> >
> > > Hi all,
> > >
> > > Trying to build 4.1.1 into the appropriate RPMs, and I'm hitting the
> > > following error during the process.  Any clues / ideas?  I've cleaned
> our
> > > ~/.m2/repository and tried again, but same issue.
> > >
> > >
> > >
> > > [INFO] Apache CloudStack AWS API Bridge .................. FAILURE
> > > [55.762s]
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: 5:14.484s
> > > [INFO] Finished at: Mon Aug 05 19:20:34 IST 2013
> > > [INFO] Final Memory: 47M/206M
> > > [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
> > >
> /home/sg-user/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar;
> > > error in opening zip file
> > > [ERROR] error: error reading
> > >
> > >
> /home/sg-user/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
> > > error in opening zip file
> > > [ERROR] error: error reading
> > >
> > >
> /home/sg-user/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
> > > error in opening zip file
> > > [ERROR] error: error reading
> > >
> /home/sg-user/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar;
> > > error in opening zip file
> > > [ERROR] error: error reading
> > >
> > >
> /home/sg-user/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.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
> > > [ERROR]
> > > [ERROR] After correcting the problems, you can resume the build with
> the
> > > command
> > > [ERROR]   mvn <goals> -rf :cloud-awsapi
> > >
>

Re: 4.1.1 Build issue for CentOS - errors on AWSAPI depenencies

Posted by Chip Childers <ch...@sungard.com>.
On Thu, Aug 08, 2013 at 12:06:16PM +0530, Amit Das wrote:
> Hi,
> 
> Do we have any workaround for this issue ?
> 
> Regards,
> Amit
> *CloudByte Inc.* <http://www.cloudbyte.com/>

Since I didn't have time to figure out what was going wrong, I copied
the missing jars from another machine into my .m2/repository folder.
Not ideal, but it worked as a workaround.

> 
> 
> On Mon, Aug 5, 2013 at 11:55 PM, Chip Childers <ch...@sungard.com>wrote:
> 
> > Hi all,
> >
> > Trying to build 4.1.1 into the appropriate RPMs, and I'm hitting the
> > following error during the process.  Any clues / ideas?  I've cleaned our
> > ~/.m2/repository and tried again, but same issue.
> >
> >
> >
> > [INFO] Apache CloudStack AWS API Bridge .................. FAILURE
> > [55.762s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 5:14.484s
> > [INFO] Finished at: Mon Aug 05 19:20:34 IST 2013
> > [INFO] Final Memory: 47M/206M
> > [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
> > /home/sg-user/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar;
> > error in opening zip file
> > [ERROR] error: error reading
> >
> > /home/sg-user/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
> > error in opening zip file
> > [ERROR] error: error reading
> >
> > /home/sg-user/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
> > error in opening zip file
> > [ERROR] error: error reading
> > /home/sg-user/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar;
> > error in opening zip file
> > [ERROR] error: error reading
> >
> > /home/sg-user/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.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
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :cloud-awsapi
> >

Re: 4.1.1 Build issue for CentOS - errors on AWSAPI depenencies

Posted by Amit Das <am...@cloudbyte.com>.
Hi,

Do we have any workaround for this issue ?

Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>


On Mon, Aug 5, 2013 at 11:55 PM, Chip Childers <ch...@sungard.com>wrote:

> Hi all,
>
> Trying to build 4.1.1 into the appropriate RPMs, and I'm hitting the
> following error during the process.  Any clues / ideas?  I've cleaned our
> ~/.m2/repository and tried again, but same issue.
>
>
>
> [INFO] Apache CloudStack AWS API Bridge .................. FAILURE
> [55.762s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5:14.484s
> [INFO] Finished at: Mon Aug 05 19:20:34 IST 2013
> [INFO] Final Memory: 47M/206M
> [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
> /home/sg-user/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar;
> error in opening zip file
> [ERROR] error: error reading
>
> /home/sg-user/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
> error in opening zip file
> [ERROR] error: error reading
>
> /home/sg-user/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
> error in opening zip file
> [ERROR] error: error reading
> /home/sg-user/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar;
> error in opening zip file
> [ERROR] error: error reading
>
> /home/sg-user/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :cloud-awsapi
>