Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-418

Upgrade maven repositories to jboss developer from the deprecated repositories

    XMLWordPrintable

Details

    Description

      The problem is we are using old repositories, and thus not all artefacts can be fetched from outside of red hat internal VPN. Nevertheless, all these are available in the right repositories.

      There is also a note:
      Note: This Maven repository is deprecated. The JBoss.org Maven repository is now managed by Nexus located at https://repository.jboss.org/nexus/. You should update your Maven builds to use the new repository url since it will contain all current project releases.

      If you want to use JBoss artifacts in your project builds, you should use the repository found at http://repository.jboss.org/nexus/content/groups/public-jboss/. More information is available on the wiki page MavenGettingStarted-Users

      If you are developing software for the JBoss community, please refer to MavenGettingStarted-Developers

      Original report:

      arun-gupta commented 18 days ago
      pi@raspberrypi ~/mod_cluster/mod_cluster $ ~/apache-maven-3.2.1/bin/mvn -P dist package
      [INFO] Scanning for projects...
      Downloading: http://repository.jboss.org/maven2/org/jboss/jbossorg-docbook-xslt/1.1.0/jbossorg-docbook-xslt-1.1.0.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/jbossorg-jdocbook-style/1.1.0/jbossorg-jdocbook-style-1.1.0.pom
      Downloading: http://repository.jboss.org/maven2/net/sf/docbook/docbook/1.72.0/docbook-1.72.0.pom
      Downloading: http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1.1.3.pom
      Downloading: http://repository.jboss.org/maven2/com/sun/media/jai-codec/1.1.3/jai-codec-1.1.3.pom
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]

      [ERROR] The project org.jboss:User-Guide-en:1.3.1.Final-SNAPSHOT (/home/pi/mod_cluster/mod_cluster/docs/userguide/pom.xml) has 2 errors
      [ERROR] Unresolveable build extension: Plugin org.jboss.maven.plugins:maven-jdocbook-plugin:2.1.2 or one of its dependencies could not be resolved: Failed to collect dependencies at org.jboss.maven.plugins:maven-jdocbook-plugin:jar:2.1.2 -> org.jboss:jbossorg-docbook-xslt:jar:1.1.0: Failed to read artifact descriptor for org.jboss:jbossorg-docbook-xslt:jar:1.1.0: Could not transfer artifact org.jboss:jbossorg-docbook-xslt:pom:1.1.0 from/to old jboss.org (http://repository.jboss.org/maven2): Access denied to: http://repository.jboss.org/maven2/org/jboss/jbossorg-docbook-xslt/1.1.0/jbossorg-docbook-xslt-1.1.0.pom , ReasonPhrase:Forbidden. -> [Help 2]
      [ERROR] Unknown packaging: jdocbook @ org.jboss:User-Guide-${translation}:1.3.1.Final-SNAPSHOT, /home/pi/mod_cluster/mod_cluster/docs/userguide/pom.xml, line 11, column 14
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

      Attachments

        Activity

          People

            rhn-engineering-rhusar Radoslav Husar
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: