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)

Terracotta | tekkie00 | 8 years ago
  1. 0

    Trouble building Terracotta Framework Library

    Terracotta | 8 years ago | tekkie00
    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)
  2. 0

    Missing selenium jar files?

    j-trac | 8 years ago | gmui
    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.openqa.selenium.client-drivers -DartifactId=selenium-java-client-driver -Dver sion=0.9.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.openqa.selenium.client-drivers -DartifactId=selenium-java-client-driver -Dversi on=0.9.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=\[url\] -DrepositoryId=\[id\] Path to dependency: 1) info.jtrac:jtrac:war:2.1.0   org.openqa.selenium.client-drivers:selenium-java-client-driver:jar:0.9.0 from the specified remote repositories:   openqa.org (http://maven.openqa.org),   central (http://repo1.maven.org/maven2)
  3. 0

    [MNGECLIPSE-1414] Unable to add a new Archetype - Sonatype JIRA

    sonatype.org | 11 months ago
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    Sonatype JIRA | 8 years ago | Fred Bricon
    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
  6. 0

    What is the correct way to make Maven find the parent POM of my project?

    Stack Overflow | 2 years ago | KjetilNordin
    org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.myportal:client-product:pom:0.0 from the specified remote repositories: my-repository (http://my-server:8080/archiva/repository/my-repository/), localRepository2 (C:/mavenLocalRepository/logging-framework/), localRepository (C:/mavenLocalRepository/my-main/), central (http://repo1.maven.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.apache.maven.wagon.ResourceDoesNotExistException

      Unable to download the artifact from any repository

      at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact()
    2. Maven
      DefaultArtifactResolver.resolve
      1. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
      2. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
      3. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
      3 frames
    3. org.terracotta.maven
      ManifestMojo.execute
      1. org.terracotta.maven.plugins.tc.DsoArtifactResolverImpl.resolveArtifact(DsoArtifactResolverImpl.java:80)
      2. org.terracotta.maven.plugins.tc.ManifestMojo.generateRequiredBundles(ManifestMojo.java:300)
      3. org.terracotta.maven.plugins.tc.ManifestMojo.createManifest(ManifestMojo.java:246)
      4. org.terracotta.maven.plugins.tc.ManifestMojo.execute(ManifestMojo.java:182)
      4 frames
    4. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
      1 frame
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      8 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      1 frame
    7. 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:585)
      4 frames
    8. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames