karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4002) Karaf build on jenkins always fail at karaf-maven-plugin
Date Fri, 18 Sep 2015 12:32:04 GMT
Christian Schneider created KARAF-4002:
------------------------------------------

             Summary: Karaf build on jenkins always fail at karaf-maven-plugin
                 Key: KARAF-4002
                 URL: https://issues.apache.org/jira/browse/KARAF-4002
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 4.0.1
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 4.0.2


The reason for the error below seems to be that the test refers to the karaf kar that is not
yet built at this stage.


[ERROR] Failed to execute goal on project test-basic-generation: Could not resolve dependencies
for project test:test-basic-generation:karaf-assembly:1.0-SNAPSHOT: The following artifacts
could not be resolved: org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT, org.apache.karaf.features:standard:xml:features:4.0.2-SNAPSHOT:
Could not find artifact org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT -> [Help
1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project
test-basic-generation: Could not resolve dependencies for project test:test-basic-generation:karaf-assembly:1.0-SNAPSHOT:
The following artifacts could not be resolved: org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT,
org.apache.karaf.features:standard:xml:features:4.0.2-SNAPSHOT: Could not find artifact org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
	at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
	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:108)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies
for project test:test-basic-generation:karaf-assembly:1.0-SNAPSHOT: The following artifacts
could not be resolved: org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT, org.apache.karaf.features:standard:xml:features:4.0.2-SNAPSHOT:
Could not find artifact org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
	at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
	... 22 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts
could not be resolved: org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT, org.apache.karaf.features:standard:xml:features:4.0.2-SNAPSHOT:
Could not find artifact org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
	at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
	... 23 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts
could not be resolved: org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT, org.apache.karaf.features:standard:xml:features:4.0.2-SNAPSHOT:
Could not find artifact org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
	... 24 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact
org.apache.karaf.features:framework:kar:4.0.2-SNAPSHOT
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:449)
	... 26 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message