3 Replies Latest reply on Aug 31, 2010 12:56 PM by Pete Muir

    Missing artifact apache-xerces:xml-apis:jar:2.9.1:compile

    sreekanth manga Newbie

      Hi ,


      I have cloned a copy of core workspace from http://github.com/weld/core.git.


      When I opened the tests-arquillian maven project from eclipse, I see this error.I will try to install the artifact manually in my workspace.But I think the dependencies should be fixed and committed back in the repository.If I am mistaken, please clarify.


      Maven output:


      30/8/10 9:24:33 AM IST: Downloaded http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.3.1/maven-jar-plugin-2.3.1.jar

      30/8/10 9:24:33 AM IST: Maven Builder: FULL_BUILD
      30/8/10 9:24:33 AM IST: Build errors for weld-core-test-arquillian; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project weld-core-test-arquillian: Missing:
      1) apache-xerces:xml-apis:jar:2.9.1
        Try downloading the file manually from the project website.
        Then, install it using the command:
            mvn install:install-file -DgroupId=apache-xerces -DartifactId=xml-apis -Dversion=2.9.1 -Dpackaging=jar -Dfile=/path/to/file
        Alternatively, if you host your own repository you can deploy the file there:
            mvn deploy:deploy-file -DgroupId=apache-xerces -DartifactId=xml-apis -Dversion=2.9.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
        Path to dependency:
             1) org.jboss.weld:weld-core-test-arquillian:pom:pom:1.1.0-SNAPSHOT
             2) org.jboss.metadata:jboss-metadata:jar:1.0.0.CR16
             3) apache-xerces:xml-apis:jar:2.9.1
      1 required artifact is missing.
      for artifact:
      from the specified remote repositories:
        jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public, releases=true, snapshots=true),
        jboss-snapshots-repository (http://repository.jboss.org/nexus/content/groups/public, releases=false, snapshots=true),
        central (http://repo1.maven.org/maven2, releases=true, snapshots=false)