Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Jean-Baptiste Onofré

FYI,

I added the wagon-http-lightweight dependency to the karaf-maven-plugin 
and ran a build on Jenkins.


I keep you posted.

Regards
JB

On 09/08/2014 04:12 AM, Rodrigo Serra wrote:

Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net escribió:


Just adding dependency in the plugin section with wagon lightweight http 
should fix the problem. But:
1/ I try to figure out why I don't have the issue on my machine
2/ I already fixed that a while ago.

I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow morning 
probably).

Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

[INFO] at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[INFO] at java.lang.reflect.Method.invoke(Method.java:606)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Jean-Baptiste Onofré
The build on Jenkins failed but for one itests failure, the assemblies 
and archetypes look ok now.


Regards
JB

On 09/08/2014 04:12 AM, Rodrigo Serra wrote:

Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net escribió:


Just adding dependency in the plugin section with wagon lightweight http 
should fix the problem. But:
1/ I try to figure out why I don't have the issue on my machine
2/ I already fixed that a while ago.

I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow morning 
probably).

Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

[INFO] at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[INFO] at java.lang.reflect.Method.invoke(Method.java:606)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Sobkowiak, Krzysztof
I'll check the ServiceMix build in the evening. Thanks for the fix

Best regards
Krzysztof

On 08.09.2014 08:42, Jean-Baptiste Onofré wrote:
 The build on Jenkins failed but for one itests failure, the assemblies
 and archetypes look ok now.

 Regards
 JB

 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,

 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the
 compilation are broken. The first problem is the upgrade of pax web
 to  3.1.2-SNAPSHOT. I don’t have this jar in my m2, but c2eef4e fix
 the version but the current error emerge. Some thin in the middle of
 two commit broke the compilation to the current state.

 Regards,
 Rodrigo

 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net
 escribió:

 Just adding dependency in the plugin section with wagon
 lightweight http should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.

 I'm releasing ServiceMix Bundles, I will fix that just after
 (tomorrow morning probably).

 Regards
 JB

 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux
 (64bit)
 too. Could it be a problem on Linux?

 Best regards
 Krzysztof

 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.

 I keep you posted.

 Regards
 JB

 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade
 to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too

 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2
 repository.
 But similar problem still occurs while building Assembly
 Archetype --
 warning about missing LightweightHttpWagon and following error

 [INFO] [ERROR] Failed to execute goal on project assembly:
 Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to
 collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:

 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0

 from/to central (http://repo.maven.apache.org/maven2): No
 connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException:
 Failed
 to execute goal on project assembly: Could not resolve
 dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT:
 Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)


 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)


 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)


 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)


 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)


 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)


 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)


 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)


 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)


 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)


 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO] at
 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 [INFO] at
 org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 [INFO] at
 org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 [INFO] at
 org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 [INFO] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


 [INFO] at
 

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Rodrigo Serra
Hello JB,

Now the build failt with this error:

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 (compile) on project framework: Execution compile of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 failed: A required class was missing while executing 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
 org/sonatype/aether/RepositorySystem

in module Apache Karaf :: Assemblies :: Features :: Framework”

Regards,
Rodrigo

El 08/09/2014, a las 03:42, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 The build on Jenkins failed but for one itests failure, the assemblies and 
 archetypes look ok now.
 
 Regards
 JB
 
 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,
 
 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
 broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
 don’t have this jar in my m2, but c2eef4e fix the version but the current 
 error emerge. Some thin in the middle of two commit broke the compilation to 
 the current state.
 
 Regards,
 Rodrigo
 
 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Just adding dependency in the plugin section with wagon lightweight http 
 should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.
 
 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).
 
 Regards
 JB
 
 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too
 
 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error
 
 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 
 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO]

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Sobkowiak, Krzysztof
Hi Rodrigo

You probably use Maven 3.1.x or 3.2.x. Try with Maven 3.0.x

Best regards
Krzysztof

On 08.09.2014 12:08, Rodrigo Serra wrote:
 Hello JB,

 Now the build failt with this error:

 [ERROR] Failed to execute goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  (compile) on project framework: Execution compile of goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  failed: A required class was missing while executing 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
  org/sonatype/aether/RepositorySystem

 in module Apache Karaf :: Assemblies :: Features :: Framework”

 Regards,
 Rodrigo

 El 08/09/2014, a las 03:42, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 The build on Jenkins failed but for one itests failure, the assemblies and 
 archetypes look ok now.

 Regards
 JB

 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,

 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
 broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
 don’t have this jar in my m2, but c2eef4e fix the version but the current 
 error emerge. Some thin in the middle of two commit broke the compilation 
 to the current state.

 Regards,
 Rodrigo

 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:

 Just adding dependency in the plugin section with wagon lightweight http 
 should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.

 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).

 Regards
 JB

 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?

 Best regards
 Krzysztof

 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.

 I keep you posted.

 Regards
 JB

 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too

 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error

 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

 [INFO] at
 

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Jean-Baptiste Onofré

Hi Rodrigo,

I guess that you use Maven 3.1 or 3.2 ?

For now, only 3.0.x is supported.

Regards
JB

On 09/08/2014 12:08 PM, Rodrigo Serra wrote:

Hello JB,

Now the build failt with this error:

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 (compile) on project framework: Execution compile of goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
 failed: A required class was missing while executing 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
 org/sonatype/aether/RepositorySystem

in module Apache Karaf :: Assemblies :: Features :: Framework”

Regards,
Rodrigo

El 08/09/2014, a las 03:42, Jean-Baptiste Onofré j...@nanthrax.net escribió:


The build on Jenkins failed but for one itests failure, the assemblies and 
archetypes look ok now.

Regards
JB

On 09/08/2014 04:12 AM, Rodrigo Serra wrote:

Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net escribió:


Just adding dependency in the plugin section with wagon lightweight http 
should fix the problem. But:
1/ I try to figure out why I don't have the issue on my machine
2/ I already fixed that a while ago.

I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow morning 
probably).

Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-08 Thread Rodrigo Serra
Yes, is Maven version. I change to 3.0.5 and works

Thank JB and Krzys,

Regards,
Rodrigo

El 08/09/2014, a las 07:30, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Hi Rodrigo,
 
 I guess that you use Maven 3.1 or 3.2 ?
 
 For now, only 3.0.x is supported.
 
 Regards
 JB
 
 On 09/08/2014 12:08 PM, Rodrigo Serra wrote:
 Hello JB,
 
 Now the build failt with this error:
 
 [ERROR] Failed to execute goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  (compile) on project framework: Execution compile of goal 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor
  failed: A required class was missing while executing 
 org.apache.karaf.tooling:karaf-maven-plugin:3.0.2-SNAPSHOT:features-generate-descriptor:
  org/sonatype/aether/RepositorySystem
 
 in module Apache Karaf :: Assemblies :: Features :: Framework”
 
 Regards,
 Rodrigo
 
 El 08/09/2014, a las 03:42, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 The build on Jenkins failed but for one itests failure, the assemblies and 
 archetypes look ok now.
 
 Regards
 JB
 
 On 09/08/2014 04:12 AM, Rodrigo Serra wrote:
 Hello,
 
 Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
 broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I 
 don’t have this jar in my m2, but c2eef4e fix the version but the current 
 error emerge. Some thin in the middle of two commit broke the compilation 
 to the current state.
 
 Regards,
 Rodrigo
 
 El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net 
 escribió:
 
 Just adding dependency in the plugin section with wagon lightweight 
 http should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.
 
 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).
 
 Regards
 JB
 
 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too
 
 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error
 
 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 
 [INFO] at
 

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-07 Thread Jean-Baptiste Onofré

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
[INFO] at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] at java.lang.reflect.Method.invoke(Method.java:606)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] Caused by:
org.apache.maven.project.DependencyResolutionException: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
[INFO] at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
[INFO] ... 22 more
[INFO] Caused by:
org.sonatype.aether.collection.DependencyCollectionException: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-07 Thread Krzysztof Sobkowiak
The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.

 I keep you posted.

 Regards
 JB

 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too

 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error

 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO] at
 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 [INFO] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 [INFO] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 [INFO] at java.lang.reflect.Method.invoke(Method.java:606)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

 [INFO] Caused by:
 org.apache.maven.project.DependencyResolutionException: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)

 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)

 [INFO] ... 22 more
 [INFO] Caused by:

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-07 Thread Jean-Baptiste Onofré

I'm on Linux 64 bits too (Ubuntu 14.04 with JDK 7 and Maven 3.0.4).

I take a couple of hours off this afternoon, I'm back on it.

Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

[INFO] at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[INFO] at java.lang.reflect.Method.invoke(Method.java:606)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

[INFO] Caused by:
org.apache.maven.project.DependencyResolutionException: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)

[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-07 Thread Jean-Baptiste Onofré
Just adding dependency in the plugin section with wagon lightweight 
http should fix the problem. But:

1/ I try to figure out why I don't have the issue on my machine
2/ I already fixed that a while ago.

I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
morning probably).


Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

[INFO] at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[INFO] at java.lang.reflect.Method.invoke(Method.java:606)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

[INFO] Caused by:
org.apache.maven.project.DependencyResolutionException: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-07 Thread Rodrigo Serra
Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net escribió:

 Just adding dependency in the plugin section with wagon lightweight http 
 should fix the problem. But:
 1/ I try to figure out why I don't have the issue on my machine
 2/ I already fixed that a while ago.
 
 I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow 
 morning probably).
 
 Regards
 JB
 
 On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:
 The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
 too. Could it be a problem on Linux?
 
 Best regards
 Krzysztof
 
 On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:
 For now, I can't reproduce on my machine, I'm still investigating.
 
 I keep you posted.
 
 Regards
 JB
 
 On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:
 This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
 Web 3.1.2). After this commit the problem occurs on Jenkins too
 (https://builds.apache.org/view/All/job/karaf-3.0.x/291/)
 
 
 On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too
 
 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error
 
 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 
 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO] at
 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)
 [INFO] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
 [INFO] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
 [INFO] at java.lang.reflect.Method.invoke(Method.java:606)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 
 [INFO] at
 

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-07 Thread Jean-Baptiste Onofré

Yes, but pax-web 3.1.2 is on central.

Let me check a change in the pax-web features that may cause the problem.

IMHO, as I said, just the wagon dep should be ok. I'm finishing a 
ServiceMix bundles release and I fix that.


Regards
JB

On 09/08/2014 04:12 AM, Rodrigo Serra wrote:

Hello,

Before commit 873fe82e25a146a3cd935a8e4662f42cca2b52c1 the compilation are 
broken. The first problem is the upgrade of pax web to  3.1.2-SNAPSHOT. I don’t 
have this jar in my m2, but c2eef4e fix the version but the current error 
emerge. Some thin in the middle of two commit broke the compilation to the 
current state.

Regards,
Rodrigo

El 07/09/2014, a las 16:43, Jean-Baptiste Onofré j...@nanthrax.net escribió:


Just adding dependency in the plugin section with wagon lightweight http 
should fix the problem. But:
1/ I try to figure out why I don't have the issue on my machine
2/ I already fixed that a while ago.

I'm releasing ServiceMix Bundles, I will fix that just after (tomorrow morning 
probably).

Regards
JB

On 09/07/2014 10:23 AM, Krzysztof Sobkowiak wrote:

The Jenkins Build runs probably on a Linux machine. I use Linux (64bit)
too. Could it be a problem on Linux?

Best regards
Krzysztof

On 07.09.2014 09:36, Jean-Baptiste Onofré wrote:

For now, I can't reproduce on my machine, I'm still investigating.

I keep you posted.

Regards
JB

On 09/07/2014 01:26 AM, Krzysztof Sobkowiak wrote:

This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:

This problem doesn't occur on master and 2.x which use pax-logging
2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:

I could build the Karaf Assemblies after removing the m2 repository.
But similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal on project assembly: Could not resolve dependencies
for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
to collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

[INFO] at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[INFO] at java.lang.reflect.Method.invoke(Method.java:606)
[INFO] at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-06 Thread Krzysztof Sobkowiak
Hi

This error occurs when I'm trying to build with Maven 3.2.3 or 3.1.1.
But I'm trying to build Karaf 3.x using Maven 3.0.5. In both cases I'm
getting following warning:

[INFO] --- karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars
(process-resources) @ apache-karaf-minimal ---
[INFO] Installing feature
file:/home/kso/work/projects/asf/karaf-3.0.x/assemblies/apache-karaf-minimal/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
to system and startup.properties
[INFO] Adding feature repository to system:
mvn:org.apache.karaf.features/standard/3.0.2-SNAPSHOT/xml/features
Sep 06, 2014 10:57:36 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn
WARNING: Error injecting:
org.apache.maven.wagon.providers.http.LightweightHttpWagon
java.lang.TypeNotPresentException: Type
org.apache.maven.wagon.providers.http.LightweightHttpWagon not present
at
org.sonatype.guice.bean.reflect.URLClassSpace.loadClass(URLClassSpace.java:105)
at org.sonatype.guice.bean.reflect.NamedClass.load(NamedClass.java:45)
at
org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
at
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
at
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
at
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
at
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
at
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at
com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at
org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
at
org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
at
org.sonatype.aether.connector.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:32)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.lookupWagon(WagonRepositoryConnector.java:282)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.init(WagonRepositoryConnector.java:154)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnectorFactory.newInstance(WagonRepositoryConnectorFactory.java:142)
at
org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:346)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
at
org.apache.karaf.tooling.features.Dependency30Helper.resolveById(Dependency30Helper.java:314)
at
org.apache.karaf.tooling.features.InstallKarsMojo$OfflineFeaturesService.addRepository(InstallKarsMojo.java:346)
at
org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:232)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-06 Thread Krzysztof Sobkowiak
I could build the Karaf Assemblies after removing the m2 repository. But
similar problem still occurs while building Assembly Archetype --
warning about missing LightweightHttpWagon and following error

[INFO] [ERROR] Failed to execute goal on project assembly: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT
(compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
(runtime)]: Failed to read artifact descriptor for
org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
Could not transfer artifact
org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
from/to central (http://repo.maven.apache.org/maven2): No connector
available to access repository central
(http://repo.maven.apache.org/maven2) of type default using the
available factories WagonRepositoryConnectorFactory - [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal on project assembly: Could not resolve dependencies for
project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to
collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
[INFO] at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
[INFO] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
[INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
[INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
[INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
[INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
[INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[INFO] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] at java.lang.reflect.Method.invoke(Method.java:606)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
[INFO] at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[INFO] Caused by:
org.apache.maven.project.DependencyResolutionException: Could not
resolve dependencies for project
archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
dependencies for [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT
(compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
[INFO] at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)
[INFO] at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
[INFO] ... 22 more
[INFO] Caused by:
org.sonatype.aether.collection.DependencyCollectionException: Failed to
collect dependencies for
[org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
[INFO] at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
[INFO] at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)
[INFO] at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150)
[INFO] ... 23 more
[INFO] Caused by:
org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to
read artifact descriptor for

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-06 Thread Krzysztof Sobkowiak
This problem doesn't occur on master and 2.x which use pax-logging 2.1.0 too

On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error

 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [INFO] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [INFO] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [INFO] at java.lang.reflect.Method.invoke(Method.java:606)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 [INFO] Caused by:
 org.apache.maven.project.DependencyResolutionException: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
 [INFO] at
 org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
 [INFO] ... 22 more
 [INFO] Caused by:
 org.sonatype.aether.collection.DependencyCollectionException: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
 [INFO] at
 org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
 [INFO] at
 org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)
 [INFO] at
 

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-06 Thread Krzysztof Sobkowiak
This problem has been probably introduced by KARAF-3191 (Upgrade to Pax
Web 3.1.2). After this commit the problem occurs on Jenkins too
(https://builds.apache.org/view/All/job/karaf-3.0.x/291/)


On 07.09.2014 00:36, Krzysztof Sobkowiak wrote:
 This problem doesn't occur on master and 2.x which use pax-logging
 2.1.0 too

 On 07.09.2014 00:25, Krzysztof Sobkowiak wrote:
 I could build the Karaf Assemblies after removing the m2 repository.
 But similar problem still occurs while building Assembly Archetype --
 warning about missing LightweightHttpWagon and following error

 [INFO] [ERROR] Failed to execute goal on project assembly: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT
 (runtime)]: Failed to read artifact descriptor for
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:jar:1.2.0:
 Could not transfer artifact
 org.apache.aries.blueprint:org.apache.aries.blueprint.core:pom:1.2.0
 from/to central (http://repo.maven.apache.org/maven2): No connector
 available to access repository central
 (http://repo.maven.apache.org/maven2) of type default using the
 available factories WagonRepositoryConnectorFactory - [Help 1]
 [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed
 to execute goal on project assembly: Could not resolve dependencies
 for project archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 [INFO] at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 [INFO] at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 [INFO] at
 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 [INFO] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 [INFO] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 [INFO] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [INFO] at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [INFO] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [INFO] at java.lang.reflect.Method.invoke(Method.java:606)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 [INFO] at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 [INFO] Caused by:
 org.apache.maven.project.DependencyResolutionException: Could not
 resolve dependencies for project
 archetype.it:assembly:karaf-assembly:0.1-SNAPSHOT: Failed to collect
 dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
 [INFO] at
 org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158)
 [INFO] at
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
 [INFO] ... 22 more
 [INFO] Caused by:
 org.sonatype.aether.collection.DependencyCollectionException: Failed
 to collect dependencies for
 [org.apache.karaf.features:framework:kar:3.0.2-SNAPSHOT (compile),
 org.apache.karaf.features:standard:xml:features:3.0.2-SNAPSHOT (runtime)]
 [INFO] at
 

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-06 Thread Jean-Baptiste Onofré

Hi Krzysztof

let me try by purging my local repo.

Regards
JB

On 09/06/2014 11:17 PM, Krzysztof Sobkowiak wrote:

Hi

This error occurs when I'm trying to build with Maven 3.2.3 or 3.1.1.
But I'm trying to build Karaf 3.x using Maven 3.0.5. In both cases I'm
getting following warning:

[INFO] --- karaf-maven-plugin:3.0.2-SNAPSHOT:install-kars
(process-resources) @ apache-karaf-minimal ---
[INFO] Installing feature
file:/home/kso/work/projects/asf/karaf-3.0.x/assemblies/apache-karaf-minimal/target/assembly/system/org/apache/karaf/features/framework/3.0.2-SNAPSHOT/framework-3.0.2-SNAPSHOT-features.xml
to system and startup.properties
[INFO] Adding feature repository to system:
mvn:org.apache.karaf.features/standard/3.0.2-SNAPSHOT/xml/features
Sep 06, 2014 10:57:36 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn
WARNING: Error injecting:
org.apache.maven.wagon.providers.http.LightweightHttpWagon
java.lang.TypeNotPresentException: Type
org.apache.maven.wagon.providers.http.LightweightHttpWagon not present
 at
org.sonatype.guice.bean.reflect.URLClassSpace.loadClass(URLClassSpace.java:105)
 at org.sonatype.guice.bean.reflect.NamedClass.load(NamedClass.java:45)
 at
org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
 at
com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84)
 at
com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52)
 at
com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
 at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
 at
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
 at
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
 at
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
 at
com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
 at
com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
 at
com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965)
 at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011)
 at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961)
 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
 at
org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
 at
org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
 at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
 at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
 at
org.sonatype.aether.connector.wagon.PlexusWagonProvider.lookup(PlexusWagonProvider.java:32)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.lookupWagon(WagonRepositoryConnector.java:282)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.init(WagonRepositoryConnector.java:154)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnectorFactory.newInstance(WagonRepositoryConnectorFactory.java:142)
 at
org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:346)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
 at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
 at
org.apache.karaf.tooling.features.Dependency30Helper.resolveById(Dependency30Helper.java:314)
 at
org.apache.karaf.tooling.features.InstallKarsMojo$OfflineFeaturesService.addRepository(InstallKarsMojo.java:346)
 at
org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:232)
 at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at

Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-05 Thread Kevin Carr
I feel sheepish. Yes.

Thanks for the reply.
On Sep 5, 2014 12:00 AM, Jean-Baptiste Onofré j...@nanthrax.net wrote:

 Hi,

 did you change your Maven version (for instance, update to 3.2) ?

 Regards
 JB

 On 09/04/2014 10:37 PM, Kevin Carr wrote:

 I am seeing a build error when building karaf-3.0.2-SNAPSHOT with
 -Pfastinstall

 The karaf-maven-plugin fails during building of all the tests.  Like:
 test-basic-generation

 It is missing this class:

 org/sonatype/aether/RepositorySystem

 Any ideas?  I have built the 3.0.2-SNAPSHOT before.  This is the first
 time
 I have seen an error like this.


 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com



Re: Latest Karaf 3.0.2-SNAPSHOT build failure

2014-09-04 Thread Jean-Baptiste Onofré

Hi,

did you change your Maven version (for instance, update to 3.2) ?

Regards
JB

On 09/04/2014 10:37 PM, Kevin Carr wrote:

I am seeing a build error when building karaf-3.0.2-SNAPSHOT with
-Pfastinstall

The karaf-maven-plugin fails during building of all the tests.  Like:
test-basic-generation

It is missing this class:

org/sonatype/aether/RepositorySystem

Any ideas?  I have built the 3.0.2-SNAPSHOT before.  This is the first time
I have seen an error like this.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com