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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ambari-user by Jonathan Hurley, 1 year ago
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)
via ambari-user by Dmitry Sen, 1 year ago
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)
via ambari-user by rammohan ganapavarapu, 1 year ago
Failed to execute goal on project ambari-server: Could not resolve dependencies for project org.apache.ambari:ambari-server:jar:2.2.1.0: Could not find artifact org.apache.ambari:ambari-metrics-common:jar:2.2.1.0 in oss.sonatype.org ( https://oss.sonatype.org/content/groups/staging)
via GitHub by grant-g
, 2 years ago
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)
via GitHub by glores
, 1 year ago
Failed to execute goal on project bootstrap: Could not resolve dependencies for project org.mobicents.ussd:bootstrap:jar:3.0.0-SNAPSHOT: Failure to find com.vendor.dialogic:gctapi:jar:6.7.1 in https://oss.sonatype.org/content/groups/public/ was
via GitHub by enfeizhan
, 7 months ago
Failed to execute goal on project timely-server: Could not resolve dependencies for project timely:timely-server:jar:0.0.4: The following artifacts could not be resolved: timely:timely-client:jar:0.0.4, timely:timely-common:jar:0.0.4: Failure to
org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.apache.ambari:ambari-server:jar: 2.2.1.0: Could not find artifact org.apache.ambari:ambari-metrics-common:jar:2.2.1.0 in oss.sonatype.org ( https://oss.sonatype.org/content/groups/staging)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
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:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
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:497)
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)

Users with the same issue

Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.