org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ambari-server: Could not resolve dependencies for project org.apache.ambari:ambari-server:jar:2.2.1.0<http://2.2.1.0>: Could not find artifact org.apache.ambari:ambari-metrics-common:jar:2.2.1.0 in oss.sonatype.org<http://oss.sonatype.org> (https://oss.sonatype.org/content/groups/staging)

ambari-user | Dmitry Sen | 10 months ago
  1. 0

    Re: Metrics build failure

    ambari-user | 10 months ago | Dmitry Sen
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ambari-server: Could not resolve dependencies for project org.apache.ambari:ambari-server:jar:2.2.1.0<http://2.2.1.0>: Could not find artifact org.apache.ambari:ambari-metrics-common:jar:2.2.1.0 in oss.sonatype.org<http://oss.sonatype.org> (https://oss.sonatype.org/content/groups/staging)
  2. 0

    Re: Metrics build failure

    ambari-user | 10 months ago | Jonathan Hurley
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project ambari-server: Could not resolve dependencies for project org.apache.ambari:ambari-server:jar:2.2.1.0<http://2.2.1.0/>: Could not find artifact org.apache.ambari:ambari-metrics-common:jar:2.2.1.0 in oss.sonatype.org<http://oss.sonatype.org/> (https://oss.sonatype.org/content/groups/staging)
  3. 0

    Maven hamcrest parent depedency failed to resolve

    Stack Overflow | 1 year ago | user2987444
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project mavenproject1: Could not resolve dependencies for project com.xxx:mavenproject1:pom:1.0-SNAPSHOT: Could not find artifact org.hamcrest:hamcrest-parent:jar:1.3 in central (https://repo.maven.apache.org/maven2)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    demo does not currently build

    GitHub | 1 year ago | grant-g
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project cas-pac4j-oauth-client-demo: Could not resolve dependencies for project org.leleuj:cas-pac4j-oauth-client-demo:war:4.2.0-SNAPSHOT: Could not find artifact org.jasig.cas:cas-server-webapp:war:4.2.0-20151118.165622-86 in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
  6. 0

    Is there a way to generate Javadoc in Maven without installing the jars in the local repository?

    Stack Overflow | 11 months ago | Trejkaz
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project derbynet: Could not resolve dependencies for project org.apache.derby:derbynet:jar:10.12.1.1.mod.1: Could not find artifact org.apache. derby:derby:jar:10.12.1.1.mod.1 in central (https://repo.maven.apache.org/maven2)
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.eclipse.aether.transfer.ArtifactNotFoundException

    Could not find artifact org.apache.ambari:ambari-metrics-common:jar:2.2.1.0 in oss.sonatype.org<http://oss.sonatype.org> (https://oss.sonatype.org/content/groups/staging)

    at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed()
  2. Aether Connector Basic
    BasicRepositoryConnector$TaskRunner.run
    1. org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
    2. org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
    2 frames
  3. Aether Utilities
    RunnableErrorForwarder$1.run
    1. org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
    1 frame
  4. Aether Connector Basic
    BasicRepositoryConnector.get
    1. org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
    2. org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
    2 frames
  5. Aether Implementation
    DefaultRepositorySystem.resolveDependencies
    1. org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
    2. org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
    3. org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
    4. org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
    4 frames
  6. Maven
    DefaultProjectDependenciesResolver.resolve
    1. org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
    1 frame
  7. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
    2. org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
    4. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
    5. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    6. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    7. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    8. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    9. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    10. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    11. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    12. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    13. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    13 frames
  8. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    3 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  10. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames