]
Radoslav Husar updated MODCLUSTER-418:
--------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Upgrade maven repositories to jboss developer from the deprecated
repositories
------------------------------------------------------------------------------
Key: MODCLUSTER-418
URL:
https://issues.jboss.org/browse/MODCLUSTER-418
Project: mod_cluster
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Documentation & Demos
Affects Versions: 1.3.0.Final, 1.2.9.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Critical
Fix For: 1.3.1.Final
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/...
Downloading:
http://repository.jboss.org/maven2/org/jboss/jbossorg-jdocbook-style/1.1....
Downloading:
http://repository.jboss.org/maven2/net/sf/docbook/docbook/1.72.0/docbook-...
Downloading:
http://repository.jboss.org/maven2/javax/media/jai-core/1.1.3/jai-core-1....
Downloading:
http://repository.jboss.org/maven2/com/sun/media/jai-codec/1.1.3/jai-code...
[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/...
, 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