org.apache.maven.artifact.resolver.ArtifactNotFoundException

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.

  • Trouble building Terracotta Framework Library
    via by tekkie00,
  • Missing selenium jar files?
    via j-trac by gmui
    ,
  • Hi, while creating a new Maven Project, I tried to add a new Archetype (CustomArchetypeDialog.java is called). The following values caused an error : G : org.richfaces.cdk A : maven-archetype-plug-n-skin V : 3.3.1.GA Repo url : http://repository.jboss.com/maven2/ You can check the archetype is actually available under http://repository.jboss.com/maven2/org/richfaces/cdk/maven-archetype-plug-n-skin/3.3.1.GA/ Looking at eclipse's log file, it seems the custom repo url isn't used : {noformat} !ENTRY org.maven.ide.eclipse 4 0 2009-05-22 00:27:25.207 !MESSAGE Can't resolve Archetype org.richfaces.cdk:maven-archetype-plug-n-skin:3.3.1.GA !STACK 0 org.apache.maven.extension.ExtensionScanningException: Error building model lineage in order to pre-scan for extensions: Cannot find artifact for parent POM: org.richfaces:cdk::3.3.1.GA for project org.richfaces.cdk:maven-archetype-plug-n-skin:jar:3.3.1.GA at D:\Dev\maven\repository\org\richfaces\cdk\maven-archetype-plug-n-skin\3.3.1.GA\maven-archetype-plug-n-skin-3.3.1.GA.pom at org.apache.maven.extension.DefaultBuildExtensionScanner.buildModelLineage(DefaultBuildExtensionScanner.java:429) at org.apache.maven.extension.DefaultBuildExtensionScanner.scanInternal(DefaultBuildExtensionScanner.java:137) at org.apache.maven.extension.DefaultBuildExtensionScanner.scanForBuildExtensions(DefaultBuildExtensionScanner.java:120) at org.apache.maven.embedder.MavenEmbedder.readProject(MavenEmbedder.java:377) at org.apache.maven.embedder.MavenEmbedder.readProject(MavenEmbedder.java:369) at org.maven.ide.eclipse.wizards.MavenProjectWizardArchetypePage$16.run(MavenProjectWizardArchetypePage.java:652) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find artifact for parent POM: org.richfaces:cdk::3.3.1.GA for project org.richfaces.cdk:maven-archetype-plug-n-skin:jar:3.3.1.GA at D:\Dev\maven\repository\org\richfaces\cdk\maven-archetype-plug-n-skin\3.3.1.GA\maven-archetype-plug-n-skin-3.3.1.GA.pom at org.apache.maven.project.build.model.DefaultModelLineageBuilder.resolveParentFromRepositories(DefaultModelLineageBuilder.java:550) at org.apache.maven.project.build.model.DefaultModelLineageBuilder.resolveParentPom(DefaultModelLineageBuilder.java:414) at org.apache.maven.project.build.model.DefaultModelLineageBuilder.buildModelLineage(DefaultModelLineageBuilder.java:131) at org.apache.maven.extension.DefaultBuildExtensionScanner.buildModelLineage(DefaultBuildExtensionScanner.java:425) ... 6 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.richfaces:cdk:pom:3.3.1.GA from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:208) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:83) at org.apache.maven.project.build.model.DefaultModelLineageBuilder.resolveParentFromRepositories(DefaultModelLineageBuilder.java:541) ... 9 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:357) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:193) ... 11 more {noformat} regards, Fred Bricon
    via by Fred Bricon,
  • mvn error, please help
    via by Edward Chen,
  • Error building trunk [moved]
    via GitHub by jyemin
    ,
  • Installation issue
    via GitHub by ioudas210
    ,
  • Basic Maven Help -- Can't Compile
    via Stack Overflow by user489041
    ,
    • org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.specs -DartifactId=geronimo-commonj-1.1-spec -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.geronimo.specs -DartifactId=geronimo-commonj-1.1-spec -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.geronimo.specs:geronimo-commonj-1.1-spec:jar:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2), terracotta-repository (http://www.terracotta.org/download/reflector/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74) at org.terracotta.maven.plugins.tc.DsoArtifactResolverImpl.resolveArtifact(DsoArtifactResolverImpl.java:80) at org.terracotta.maven.plugins.tc.ManifestMojo.generateRequiredBundles(ManifestMojo.java:300) at org.terracotta.maven.plugins.tc.ManifestMojo.createManifest(ManifestMojo.java:246) at org.terracotta.maven.plugins.tc.ManifestMojo.execute(ManifestMojo.java:182) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200) ... 23 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,