org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for org.apache.maven:apache-maven::3.0-beta-1 (compile)

Sonatype JIRA | Benjamin Hanzelmann | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for org.apache.maven:apache-maven::3.0-beta-1 (compile)
  2. 0

    First Build Client - Could not resolve dependencies for project com.cloudhopper:ch-smpp:jar:5.0.2-SNAPSHOT

    GitHub | 4 years ago | thinkadoo
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ch-smpp: Could not resolve dependencies for project com.cloudhopper:ch-smpp:jar:5.0.2-SNAPSHOT: Failed to collect dependencies for [com.cloudhopper:ch-commons-util:jar:[6.0.0,) (compile), com.cloudhopper:ch-commons-charset:jar:[3.0.0,) (compile), org.slf4j:slf4j-api:jar:[1.5.0,) (compile), io.netty:netty:jar:3.5.8.Final (compile), junit:junit:jar:[4.0,) (test), com.cloudhopper:ch-commons-gsm:jar:[3.0.0,) (test), ch.qos.logback:logback-core:jar:[1.0,) (test), ch.qos.logback:logback-classic:jar:[1.0,) (test)]
  3. 0

    Maven GAE archetype not working

    Stack Overflow | 4 years ago | PastorPL
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.kindleit:maven-gae-plugin:0.9.5:run (default-cli) on project form: Execution default-cli of goal net.kindleit:maven-gae-plugin:0.9.5:run failed: Plugin net.kindleit:maven-gae-plugin:0.9.5 or one of its dependencies could not be resolved: Failed to collect dependencies for net.kindleit:maven-gae-plugin:jar:0.9.5 ()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nexus: maven repository parallel connection limitation?

    Stack Overflow | 2 years ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project app-common: Could not resolve dependencies for project com.abc.sbo.occ:app-common:jar:1.3.0-SNAPSHOT: Failed to collect dependencies for [com.abc.sbo.occ:common-test:jar:1.3.0-SNAPSHOT (test), com.abc.sbo.occ:bo-frw-common:jar:1.3.0-SNAPSHOT (compile), org.apache.poi:poi:jar:3.9 (compile), org.apache.poi:poi-ooxml:jar:3.9 (compile), net.sf.jxls:jxls-core:jar:1.0.2 (compile), com.aspose.cells:aspose-cells:jar:8.2.1 (compile), junit:junit:jar:4.11 (test), org.mockito:mockito-all:jar:1.9.5 (test), nl.jqno.equalsverifier:equalsverifier:jar:1.1.3 (test), org.codehaus.sonar-plugins.java:sonar-jacoco-listeners:jar:1.2 (test)]
  6. 0

    Error when Build From Maven

    Google Groups | 10 months ago | paata
    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)]

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Aether :: Implementation
      DefaultArtifactResolver.resolveArtifact
      1. org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:331)
      2. org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:214)
      2 frames
    3. Maven Aether Provider
      DefaultModelResolver.resolveModel
      1. org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:115)
      1 frame
    4. Maven Model Builder
      DefaultModelBuilder.build
      1. org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:819)
      2. org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:670)
      3. org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:308)
      4. org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
      4 frames
    5. Maven Aether Provider
      DefaultArtifactDescriptorReader.readArtifactDescriptor
      1. org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:300)
      2. org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:171)
      2 frames
    6. Aether :: Implementation
      DefaultRepositorySystem.collectDependencies
      1. org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:419)
      2. org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:515)
      3. org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:515)
      4. org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:233)
      5. org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:318)
      5 frames
    7. org.sonatype.sisu
      RemoteMavenDependencyTreeResolver.resolveDependencyTree
      1. org.sonatype.sisu.maven.bridge.support.dependency.internal.MavenDependencyTreeResolverSupport.resolveDependencyTree(MavenDependencyTreeResolverSupport.java:103)
      2. org.sonatype.sisu.maven.bridge.support.dependency.RemoteMavenDependencyTreeResolver.resolveDependencyTree(RemoteMavenDependencyTreeResolver.java:102)
      2 frames
    8. org.sonatype.nexus
      ResolvingLRTest.testAetherResolveAgainstPublicGroup
      1. org.sonatype.nexus.plugins.mavenbridge.internal.DefaultNexusMavenBridge.collectDependencies(DefaultNexusMavenBridge.java:85)
      2. org.sonatype.nexus.plugins.mavenbridge.ResolvingLRTest.resolve(ResolvingLRTest.java:104)
      3. org.sonatype.nexus.plugins.mavenbridge.ResolvingLRTest.testAetherResolveAgainstPublicGroup(ResolvingLRTest.java:72)
      3 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      7. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      15 frames
    11. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      3 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    13. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      5 frames