org.apache.maven.lifecycle.LifecycleExecutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error when Build From Maven
    via by paata,
  • GitHub comment 1#215335615
    via GitHub by fantasticfears
    ,
  • Maven GAE archetype not working
    via Stack Overflow by PastorPL
    ,
  • https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=linux/126/testReport/org.sonatype.nexus.plugins.mavenbridge/ResolvingLRTest/testAetherResolveAgainstPublicGroup/ Failed to collect dependencies for org.apache.maven:apache-maven::3.0-beta-1 (compile) {code} org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for org.apache.maven:apache-maven::3.0-beta-1 (compile) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:251) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:318) at org.sonatype.sisu.maven.bridge.support.dependency.internal.MavenDependencyTreeResolverSupport.resolveDependencyTree(MavenDependencyTreeResolverSupport.java:103) at org.sonatype.sisu.maven.bridge.support.dependency.RemoteMavenDependencyTreeResolver.resolveDependencyTree(RemoteMavenDependencyTreeResolver.java:102) at org.sonatype.nexus.plugins.mavenbridge.internal.DefaultNexusMavenBridge.collectDependencies(DefaultNexusMavenBridge.java:85) at org.sonatype.nexus.plugins.mavenbridge.ResolvingLRTest.resolve(ResolvingLRTest.java:104) at org.sonatype.nexus.plugins.mavenbridge.ResolvingLRTest.testAetherResolveAgainstPublicGroup(ResolvingLRTest.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.codehaus.plexus:plexus-utils:jar:2.0.3 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:309) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:171) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:419) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:515) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:515) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:233) ... 37 more Caused by: org.apache.maven.model.resolution.UnresolvableModelException: The repository system is offline but the artifact org.codehaus.plexus:plexus:pom:2.0.6 is not available in the local repository. at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:119) at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:819) at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:670) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:308) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:300) ... 42 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: The repository system is offline but the artifact org.codehaus.plexus:plexus:pom:2.0.6 is not available in the local repository. at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:526) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:214) at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:115) ... 47 more Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: The repository system is offline but the artifact org.codehaus.plexus:plexus:pom:2.0.6 is not available in the local repository. at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:331) ... 49 more {code}
    via by Benjamin Hanzelmann,
  • broken build in CI environment
    via GitHub by yegor256
    ,
  • Trying to get maven antrun plugin to work
    via Stack Overflow by Jim
    ,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project sip-servlets-core-api: Could not resolve dependencies for project org.mobicents.servlet.sip:sip-servlets-core-api:jar:3.1.688: Failed to collect dependencies for [org.mobicents.servlet.sip:sip-servlets-spec:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-jruby:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-client:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-annotations:jar:3.1.688 (compile), log4j:log4j:jar:1.2.17 (provided), javax.sip:jain-sip-api:jar:1.2.0 (provided), javax.sip:jain-sip-ri:jar:1.2.272 (provided), org.mobicents.javax.sip:restcomm-jain-sip-ext:jar:1.3.23 (provided), org.mobicents.ha.javax.sip:restcomm-jain-sip-ha-core:jar:1.5.24 (provided), junit:junit:jar:3.8.1 (test), javax:javaee-web-api:jar:6.0 (provided)] at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) 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) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.mobicents.servlet.sip:sip-servlets-core-api:jar:3.1.688: Failed to collect dependencies for [org.mobicents.servlet.sip:sip-servlets-spec:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-jruby:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-client:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-annotations:jar:3.1.688 (compile), log4j:log4j:jar:1.2.17 (provided), javax.sip:jain-sip-api:jar:1.2.0 (provided), javax.sip:jain-sip-ri:jar:1.2.272 (provided), org.mobicents.javax.sip:restcomm-jain-sip-ext:jar:1.3.23 (provided), org.mobicents.ha.javax.sip:restcomm-jain-sip-ha-core:jar:1.5.24 (provided), junit:junit:jar:3.8.1 (test), javax:javaee-web-api:jar:6.0 (provided)] at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:158) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185) ... 22 more Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for [org.mobicents.servlet.sip:sip-servlets-spec:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-jruby:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-client:jar:3.1.688 (compile), org.mobicents.servlet.sip:sip-servlets-annotations:jar:3.1.688 (compile), log4j:log4j:jar:1.2.17 (provided), javax.sip:jain-sip-api:jar:1.2.0 (provided), javax.sip:jain-sip-ri:jar:1.2.272 (provided), org.mobicents.javax.sip:restcomm-jain-sip-ext:jar:1.3.23 (provided), org.mobicents.ha.javax.sip:restcomm-jain-sip-ha-core:jar:1.5.24 (provided), junit:junit:jar:3.8.1 (test), javax:javaee-web-api:jar:6.0 (provided)] at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150) ... 23 more Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for javax.sip:jain-sip-ri:jar:1.2.272 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:331) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) ... 25 more Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Failure to find javax.sip:jain-sip:pom:1.2.0 in http://92.241.74.250:19082
    • exus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:126) at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:813) at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:664) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:322) ... 28 more Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find javax.sip:jain-sip:pom:1.2.0 in http://92.241.74.250:19082
    • exus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:122) ... 33 more Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find javax.sip:jain-sip:pom:1.2.0 in http://92.241.74.250:19082
    • exus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230) at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204) at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427) ... 36 more

    Users with the same issue

    Unknown visitor1 times, last one,
    davidvanlaatum
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    1 more bugmates