Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-202

fix build by adding maven repository info to the pom.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.Beta1
    • 1.0.1.GA
    • None
    • None

      Building current trunk fails with
      Downloading: http://repo1.maven.org/maven2/org/jboss/ws/jbossws-spi/1.0.6.GA/jbossws-spi-1.0.6.GA.pom
      Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-vfs/2.0.0.CR1/jboss-vfs-2.0.0.CR1.pom
      Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-mdr/2.0.0.GA/jboss-mdr-2.0.0.GA.pom
      Downloading: http://repo1.maven.org/maven2/sun-jaxb/jaxb-api/2.1.4/jaxb-api-2.1.4.pom
      Downloading: http://repo1.maven.org/maven2/org/jboss/ws/jbossws-spi/1.0.6.GA/jbossws-spi-1.0.6.GA.jar
      Downloading: http://repo1.maven.org/maven2/sun-jaxb/jaxb-api/2.1.4/jaxb-api-2.1.4.jar
      Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-vfs/2.0.0.CR1/jboss-vfs-2.0.0.CR1.jar
      Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-mdr/2.0.0.GA/jboss-mdr-2.0.0.GA.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      Missing:
      ----------
      1) org.jboss.ws:jbossws-spi:jar:1.0.6.GA

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.jboss.ws -DartifactId=jbossws-spi -Dversion=1.0.6.GA -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.jboss.ws -DartifactId=jbossws-spi -Dversion=1.0.6.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) org.jboss.metadata:jboss-metadata:jar:1.0.2-SNAPSHOT
      2) org.jboss.ws:jbossws-spi:jar:1.0.6.GA
      ...
      etc

              olubyans@redhat.com Alexey Loubyansky
              olubyans@redhat.com Alexey Loubyansky
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: