org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project activity-tools: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT

JFrog JIRA | Stian Soiland-Reyes | 2 years ago
  1. 0

    On multi-module Jenkins projects using the Artifactory plugin, and "Resolve artifacts from Artifactory" set to 'repo' from http://repository.mygrid.org.uk/artifactory/ - we very often get failures like in http://build.mygrid.org.uk/ci/view/Taverna%202/job/taverna-ui-impl-maintenance/55/console {code} ERROR] Failed to execute goal on project activity-tools: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project activity-tools: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-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.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132) 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.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) 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 hudson.maven.Maven3Builder.call(Maven3Builder.java:134) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195) ... 33 more Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192) ... 34 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-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) ... 35 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:449) ... 37 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :activity-tools {code} The strange thing is - if you look in the log that exact artifact has been downloaded earlier in the build: {code} [INFO] Downloading: http://repository.mygrid.org.uk/artifactory/repo/net/sf/taverna/t2/infrastructure/spi-discovery-api/2.6-SNAPSHOT/spi-discovery-api-2.6-20140528.132154-6.pom [INFO] Downloaded: http://repository.mygrid.org.uk/artifactory/repo/net/sf/taverna/t2/infrastructure/spi-discovery-api/2.6-SNAPSHOT/spi-discovery-api-2.6-20140528.132154-6.pom (2 KB at 51.1 KB/sec) ... [INFO] Downloaded: http://repository.mygrid.org.uk/artifactory/repo/net/sf/taverna/t2/infrastructure/spi-discovery-api/2.6-SNAPSHOT/spi-discovery-api-2.6-20140528.132154-6.jar (6 KB at 53.3 KB/sec) {code} This seems to happen on projects with many modules, and specially if I include the Maven option --update-snapshot.

    JFrog JIRA | 2 years ago | Stian Soiland-Reyes
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project activity-tools: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT
  2. 0

    On multi-module Jenkins projects using the Artifactory plugin, and "Resolve artifacts from Artifactory" set to 'repo' from http://repository.mygrid.org.uk/artifactory/ - we very often get failures like in http://build.mygrid.org.uk/ci/view/Taverna%202/job/taverna-ui-impl-maintenance/55/console {code} ERROR] Failed to execute goal on project activity-tools: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project activity-tools: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-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.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132) 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.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) 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 hudson.maven.Maven3Builder.call(Maven3Builder.java:134) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195) ... 33 more Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384) at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192) ... 34 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-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) ... 35 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:449) ... 37 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :activity-tools {code} The strange thing is - if you look in the log that exact artifact has been downloaded earlier in the build: {code} [INFO] Downloading: http://repository.mygrid.org.uk/artifactory/repo/net/sf/taverna/t2/infrastructure/spi-discovery-api/2.6-SNAPSHOT/spi-discovery-api-2.6-20140528.132154-6.pom [INFO] Downloaded: http://repository.mygrid.org.uk/artifactory/repo/net/sf/taverna/t2/infrastructure/spi-discovery-api/2.6-SNAPSHOT/spi-discovery-api-2.6-20140528.132154-6.pom (2 KB at 51.1 KB/sec) ... [INFO] Downloaded: http://repository.mygrid.org.uk/artifactory/repo/net/sf/taverna/t2/infrastructure/spi-discovery-api/2.6-SNAPSHOT/spi-discovery-api-2.6-20140528.132154-6.jar (6 KB at 53.3 KB/sec) {code} This seems to happen on projects with many modules, and specially if I include the Maven option --update-snapshot.

    JFrog JIRA | 2 years ago | Stian Soiland-Reyes
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project activity-tools: Could not resolve dependencies for project net.sf.taverna.t2.ui-impl:activity-tools:jar:1.6-SNAPSHOT: The following artifacts could not be resolved: net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.lang:observer:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:raven-log4j:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:appconfig:jar:2.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:prelauncher:jar:2.6-SNAPSHOT, net.sf.taverna.t2.ui-api:workbench-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.infrastructure:launcher-api:jar:2.6-SNAPSHOT, net.sf.taverna.t2.core:workflowmodel-api:jar:1.6-SNAPSHOT, net.sf.taverna.t2.core:reference-api:jar:1.6-SNAPSHOT: Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT
  3. 0

    maven ear project not able to find WAR module

    Stack Overflow | 12 months ago | robin
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project UserManagementEar: Could not resolve dependencies for project UserManagement:UserManagementEar:ear:0.0.1-SNAPSHOT: Could not find artifact UserManagement:UserManagementWeb:war:0.0.1-SNAPSHOT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Compile error EnerNOC/oadr2-vtn-new

    GitHub | 3 years ago | icue11
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project oadr2-vtn-groovy: Could not resolve dependencies for project com.enernoc.open.oadr2.vtn:oadr2-vtn-groovy:grails-app:0.1-SNAPSHOT: The following artifacts could not be resolved: com.enernoc.open.oadr2:oadr2-model:jar:0.3-SNAPSHOT, com.enernoc.open.oadr2:oadr2-xmpp:jar:0.3-SNAPSHOT: Failure to find com.enernoc.open.oadr2:oadr2-model:jar:0.3-SNAPSHOT in http://repo.grails.org/grails/core was cached in the local repository, resolution will not be reattempted until the update interval of grails has elapsed or updates are forced
  6. 0

    The POM for com.bericotech:clavin-nerd:jar:2.1.0-SNAPSHOT is missing, no dependency information available

    GitHub | 2 years ago | cds-amal
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project clavin-rest: Could not resolve dependencies for project com.bericotech:clavin-rest:jar:0.3.0-SNAPSHOT: Could not find artifact com.bericotech:clavin-nerd:jar:2.1.0-SNAPSHOT

  1. tvrmsmith 5 times, last 2 weeks ago
  2. davidvanlaatum 6 times, last 3 weeks ago
3 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.eclipse.aether.transfer.ArtifactNotFoundException

    Could not find artifact net.sf.taverna.t2.infrastructure:spi-discovery-api:jar:2.6-SNAPSHOT

    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve()
  2. Aether Implementation
    DefaultRepositorySystem.resolveDependencies
    1. org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:449)
    2. org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
    3. org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
    3 frames
  3. Maven
    DefaultProjectDependenciesResolver.resolve
    1. org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
    1 frame
  4. 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:257)
    4. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
    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:108)
    8. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
    9. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    10. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
    11. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
    12. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
    12 frames
  5. M3 Interceptor
    Maven31Launcher.main
    1. org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  7. Plexus
    Launcher.launch
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
    2 frames
  8. jenkins.maven3.agent
    Maven31Main.launch
    1. jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  10. Hudson Maven Embedder
    Maven3Builder.call
    1. hudson.maven.Maven3Builder.call(Maven3Builder.java:134)
    2. hudson.maven.Maven3Builder.call(Maven3Builder.java:69)
    2 frames
  11. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:328)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    4 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames