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