Uploaded image for project: 'Jopr (CLOSED)'
  1. Jopr (CLOSED)
  2. JOPR-380

AS5 plugin build fails due to missing artifact "sun-jaxb:jaxb-api:jar:2.1.9.patch01"

    Details

    • Estimated Difficulty:
      Low

      Description

      Indeed this version does not exist in the JBoss repo (it probably did at some point) - see http://repository.jboss.org/maven2//sun-jaxb/jaxb-api/. The fix for this is most likely to add an exclusion for sun-jaxb:jaxb-api to the org.jboss.man:jboss-managed dependency in the AS5 plugin pom. Here's the mvn output:

      Downloading: http://repository.jboss.org/maven2//sun-jaxb/jaxb-api/2.1.9.patch01/jaxb-api-2.1.9.patch01.jar
      [INFO] Unable to find resource 'sun-jaxb:jaxb-api:jar:2.1.9.patch01' in repository jboss (http://repository.jboss.org/ma
      ven2/)
      Downloading: http://snapshots.jboss.org/maven2//sun-jaxb/jaxb-api/2.1.9.patch01/jaxb-api-2.1.9.patch01.jar
      [INFO] Unable to find resource 'sun-jaxb:jaxb-api:jar:2.1.9.patch01' in repository jboss-snapshots (http://snapshots.jbo
      ss.org/maven2/)
      Downloading: http://jon01.qa.atl2.redhat.com:8042/m2-repo//sun-jaxb/jaxb-api/2.1.9.patch01/jaxb-api-2.1.9.patch01.jar
      [INFO] Unable to find resource 'sun-jaxb:jaxb-api:jar:2.1.9.patch01' in repository internal (http://jon01.qa.atl2.redhat
      .com:8042/m2-repo/)
      Downloading: http://repository.jboss.org/maven2//sun-jaxb/jaxb-api/2.1.9.patch01/jaxb-api-2.1.9.patch01.jar
      [INFO] Unable to find resource 'sun-jaxb:jaxb-api:jar:2.1.9.patch01' in repository repository.jboss.org (http://reposito
      ry.jboss.org/maven2/)
      Downloading: http://repo1.maven.org/maven2/sun-jaxb/jaxb-api/2.1.9.patch01/jaxb-api-2.1.9.patch01.jar
      [INFO] Unable to find resource 'sun-jaxb:jaxb-api:jar:2.1.9.patch01' in repository central (http://repo1.maven.org/maven
      2)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      Missing:
      ----------
      1) sun-jaxb:jaxb-api:jar:2.1.9.patch01

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=sun-jaxb -DartifactId=jaxb-api -Dversion=2.1.9.patch01 -Dpackaging=jar -Dfile=/
      path/to/file

      Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=sun-jaxb -DartifactId=jaxb-api -Dversion=2.1.9.patch01 -Dpackaging=jar -Dfile=/pa
      th/to/file -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) org.jboss.on:jopr-jboss-as-5-plugin:jar:2.3.0-SNAPSHOT
      2) org.jboss.man:jboss-managed:jar:2.1.1.GA
      3) sun-jaxb:jaxb-api:jar:2.1.9.patch01

      ----------
      1 required artifact is missing.

      for artifact:
      org.jboss.on:jopr-jboss-as-5-plugin:jar:2.3.0-SNAPSHOT

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      internal (http://jon01.qa.atl2.redhat.com:8042/m2-repo/),
      jboss (http://repository.jboss.org/maven2/),
      jboss-snapshots (http://snapshots.jboss.org/maven2/)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ips Ian Springer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 30 minutes
                  30m
                  Remaining:
                  Remaining Estimate - 30 minutes
                  30m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified