You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Udara Liyanage <ud...@wso2.com> on 2014/09/10 14:43:31 UTC

Get a local build failure.

Hi,

[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:59 min
[INFO] Finished at: 2014-09-10T17:52:50+05:30
[INFO] Final Memory: 109M/740M
[INFO]
------------------------------------------------------------------------
[ERROR] *Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project org.apache.stratos.kubernetes.client:
Compilation failure*
*[ERROR] error: error reading
/home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.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 :org.apache.stratos.kubernetes.client


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Get a local build failure.

Posted by Udara Liyanage <ud...@wso2.com>.
Hi,

I already tried with tests but same fate. Let me try a clean build.

On Wed, Sep 10, 2014 at 8:15 PM, Nirmal Fernando <ni...@gmail.com>
wrote:

> Hi Akila,
>
> Why we need to build with tests?
>
> On Wed, Sep 10, 2014 at 7:46 PM, Akila Ravihansa Perera <
> ravihansa@wso2.com> wrote:
>
>> Hi Udara,
>>
>> Can you try building with tests enabled?
>>
>> On Wed, Sep 10, 2014 at 6:28 PM, Udara Liyanage <ud...@wso2.com> wrote:
>> > Hi,
>> >
>> > That resulted in below error
>> >
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 04:00 min
>> > [INFO] Finished at: 2014-09-10T18:26:15+05:30
>> > [INFO] Final Memory: 115M/818M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] Failed to execute goal on project
>> > org.apache.stratos.cloud.controller: Could not resolve dependencies for
>> > project
>> >
>> org.apache.stratos:org.apache.stratos.cloud.controller:bundle:4.1.0-SNAPSHOT:
>> > Could not transfer artifact com.sun.jmx:jmxri:jar:1.2.1 from/to
>> java.net
>> > (https://maven-repository.dev.java.net/nonav/repository): No connector
>> > available to access repository java.net
>> > (https://maven-repository.dev.java.net/nonav/repository) of type legacy
>> > using the available factories WagonRepositoryConnectorFactory -> [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/DependencyResolutionException
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with the
>> > command
>> > [ERROR]   mvn <goals> -rf :org.apache.stratos.cloud.controller
>> >
>> >
>> > On Wed, Sep 10, 2014 at 6:20 PM, Nirmal Fernando <
>> nirmal070125@gmail.com>
>> > wrote:
>> >>
>> >> Can you remove this
>> >>
>> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
>> >> and try?
>> >>
>> >> On Wed, Sep 10, 2014 at 6:13 PM, Udara Liyanage <ud...@wso2.com>
>> wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>> [INFO] BUILD FAILURE
>> >>> [INFO]
>> >>>
>> ------------------------------------------------------------------------
>> >>> [INFO] Total time: 03:59 min
>> >>> [INFO] Finished at: 2014-09-10T17:52:50+05:30
>> >>> [INFO] Final Memory: 109M/740M
>> >>> [INFO]
>> >>>
>> ------------------------------------------------------------------------
>> >>> [ERROR] Failed to execute goal
>> >>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>> >>> (default-compile) on project org.apache.stratos.kubernetes.client:
>> >>> Compilation failure
>> >>> [ERROR] error: error reading
>> >>>
>> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.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 :org.apache.stratos.kubernetes.client
>> >>>
>> >>>
>> >>> --
>> >>>
>> >>> Udara Liyanage
>> >>> Software Engineer
>> >>> WSO2, Inc.: http://wso2.com
>> >>> lean. enterprise. middleware
>> >>>
>> >>> web: http://udaraliyanage.wordpress.com
>> >>> phone: +94 71 443 6897
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Best Regards,
>> >> Nirmal
>> >>
>> >> Nirmal Fernando.
>> >> PPMC Member & Committer of Apache Stratos,
>> >> Senior Software Engineer, WSO2 Inc.
>> >>
>> >> Blog: http://nirmalfdo.blogspot.com/
>> >
>> >
>> >
>> >
>> > --
>> >
>> > Udara Liyanage
>> > Software Engineer
>> > WSO2, Inc.: http://wso2.com
>> > lean. enterprise. middleware
>> >
>> > web: http://udaraliyanage.wordpress.com
>> > phone: +94 71 443 6897
>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Get a local build failure.

Posted by Nirmal Fernando <ni...@gmail.com>.
Hi Akila,

Why we need to build with tests?

On Wed, Sep 10, 2014 at 7:46 PM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> Hi Udara,
>
> Can you try building with tests enabled?
>
> On Wed, Sep 10, 2014 at 6:28 PM, Udara Liyanage <ud...@wso2.com> wrote:
> > Hi,
> >
> > That resulted in below error
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 04:00 min
> > [INFO] Finished at: 2014-09-10T18:26:15+05:30
> > [INFO] Final Memory: 115M/818M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal on project
> > org.apache.stratos.cloud.controller: Could not resolve dependencies for
> > project
> >
> org.apache.stratos:org.apache.stratos.cloud.controller:bundle:4.1.0-SNAPSHOT:
> > Could not transfer artifact com.sun.jmx:jmxri:jar:1.2.1 from/to java.net
> > (https://maven-repository.dev.java.net/nonav/repository): No connector
> > available to access repository java.net
> > (https://maven-repository.dev.java.net/nonav/repository) of type legacy
> > using the available factories WagonRepositoryConnectorFactory -> [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/DependencyResolutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :org.apache.stratos.cloud.controller
> >
> >
> > On Wed, Sep 10, 2014 at 6:20 PM, Nirmal Fernando <nirmal070125@gmail.com
> >
> > wrote:
> >>
> >> Can you remove this
> >>
> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
> >> and try?
> >>
> >> On Wed, Sep 10, 2014 at 6:13 PM, Udara Liyanage <ud...@wso2.com> wrote:
> >>>
> >>> Hi,
> >>>
> >>> [INFO] BUILD FAILURE
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Total time: 03:59 min
> >>> [INFO] Finished at: 2014-09-10T17:52:50+05:30
> >>> [INFO] Final Memory: 109M/740M
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [ERROR] Failed to execute goal
> >>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> >>> (default-compile) on project org.apache.stratos.kubernetes.client:
> >>> Compilation failure
> >>> [ERROR] error: error reading
> >>>
> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.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 :org.apache.stratos.kubernetes.client
> >>>
> >>>
> >>> --
> >>>
> >>> Udara Liyanage
> >>> Software Engineer
> >>> WSO2, Inc.: http://wso2.com
> >>> lean. enterprise. middleware
> >>>
> >>> web: http://udaraliyanage.wordpress.com
> >>> phone: +94 71 443 6897
> >>
> >>
> >>
> >>
> >> --
> >> Best Regards,
> >> Nirmal
> >>
> >> Nirmal Fernando.
> >> PPMC Member & Committer of Apache Stratos,
> >> Senior Software Engineer, WSO2 Inc.
> >>
> >> Blog: http://nirmalfdo.blogspot.com/
> >
> >
> >
> >
> > --
> >
> > Udara Liyanage
> > Software Engineer
> > WSO2, Inc.: http://wso2.com
> > lean. enterprise. middleware
> >
> > web: http://udaraliyanage.wordpress.com
> > phone: +94 71 443 6897
>
>
>
> --
> Akila Ravihansa Perera
> Software Engineer, WSO2
> Committer & PMC Member, Apache Stratos
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Get a local build failure.

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi Udara,

Can you try building with tests enabled?

On Wed, Sep 10, 2014 at 6:28 PM, Udara Liyanage <ud...@wso2.com> wrote:
> Hi,
>
> That resulted in below error
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:00 min
> [INFO] Finished at: 2014-09-10T18:26:15+05:30
> [INFO] Final Memory: 115M/818M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project
> org.apache.stratos.cloud.controller: Could not resolve dependencies for
> project
> org.apache.stratos:org.apache.stratos.cloud.controller:bundle:4.1.0-SNAPSHOT:
> Could not transfer artifact com.sun.jmx:jmxri:jar:1.2.1 from/to java.net
> (https://maven-repository.dev.java.net/nonav/repository): No connector
> available to access repository java.net
> (https://maven-repository.dev.java.net/nonav/repository) of type legacy
> using the available factories WagonRepositoryConnectorFactory -> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :org.apache.stratos.cloud.controller
>
>
> On Wed, Sep 10, 2014 at 6:20 PM, Nirmal Fernando <ni...@gmail.com>
> wrote:
>>
>> Can you remove this
>> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
>> and try?
>>
>> On Wed, Sep 10, 2014 at 6:13 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>> Hi,
>>>
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 03:59 min
>>> [INFO] Finished at: 2014-09-10T17:52:50+05:30
>>> [INFO] Final Memory: 109M/740M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>>> (default-compile) on project org.apache.stratos.kubernetes.client:
>>> Compilation failure
>>> [ERROR] error: error reading
>>> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.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 :org.apache.stratos.kubernetes.client
>>>
>>>
>>> --
>>>
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897



-- 
Akila Ravihansa Perera
Software Engineer, WSO2
Committer & PMC Member, Apache Stratos

Blog: http://ravihansa3000.blogspot.com

Re: Get a local build failure.

Posted by Udara Liyanage <ud...@wso2.com>.
Hi,

That resulted in below error

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 04:00 min
[INFO] Finished at: 2014-09-10T18:26:15+05:30
[INFO] Final Memory: 115M/818M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project
org.apache.stratos.cloud.controller: Could not resolve dependencies for
project
org.apache.stratos:org.apache.stratos.cloud.controller:bundle:4.1.0-SNAPSHOT:
Could not transfer artifact com.sun.jmx:jmxri:jar:1.2.1 from/to java.net (
https://maven-repository.dev.java.net/nonav/repository): No connector
available to access repository java.net (
https://maven-repository.dev.java.net/nonav/repository) of type legacy
using the available factories WagonRepositoryConnectorFactory -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :org.apache.stratos.cloud.controller


On Wed, Sep 10, 2014 at 6:20 PM, Nirmal Fernando <ni...@gmail.com>
wrote:

> Can you remove this * /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
> and try?*
>
> On Wed, Sep 10, 2014 at 6:13 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 03:59 min
>> [INFO] Finished at: 2014-09-10T17:52:50+05:30
>> [INFO] Final Memory: 109M/740M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] *Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>> (default-compile) on project org.apache.stratos.kubernetes.client:
>> Compilation failure*
>> *[ERROR] error: error reading
>> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.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 :org.apache.stratos.kubernetes.client
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Get a local build failure.

Posted by Nirmal Fernando <ni...@gmail.com>.
Can you remove this *
/home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
and try?*

On Wed, Sep 10, 2014 at 6:13 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 03:59 min
> [INFO] Finished at: 2014-09-10T17:52:50+05:30
> [INFO] Final Memory: 109M/740M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] *Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project org.apache.stratos.kubernetes.client:
> Compilation failure*
> *[ERROR] error: error reading
> /home/udara/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.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 :org.apache.stratos.kubernetes.client
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/