]
Alessio Soldano updated JBWS-4052:
----------------------------------
Fix Version/s: jbossws-cxf-5.1.8.Final
(was: jbossws-cxf-5.2.0.Final)
Maven build is unnecessarily updating org.eclipse.* dependencies
everytime
--------------------------------------------------------------------------
Key: JBWS-4052
URL:
https://issues.jboss.org/browse/JBWS-4052
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf, productization
Affects Versions: jbossws-cxf-5.1.7.Final
Reporter: Jan Blizňák
Assignee: Jan Blizňák
Priority: Minor
Fix For: jbossws-cxf-5.1.8.Final
Maven build is unnecessarily updating org.eclipse.* dependencies everytime which could
prolong the execution by several minutes just to wait for connections to timeout
(depending on current environment setup).
{code:java}
[INFO] Scanning for projects...
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/css/core/maven-metadata...
Downloading:
http://repository.jboss.com/maven2/org/eclipse/wst/css/core/maven-metadat...
[WARNING] Could not transfer metadata org.eclipse.wst.css:core/maven-metadata.xml from/to
repository.jboss.com (
http://repository.jboss.com/maven2/): Connect to
repository.jboss.com:80 [
repository.jboss.com/10.5.105.13] failed: Connection timed out
(Connection timed out)
[WARNING] Could not transfer metadata org.eclipse.wst.css:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): Cannot access
http://download.java.net/maven/1 with type legacy using the available connector factories:
BasicRepositoryConnectorFactory
Downloading:
http://repository.jboss.com/maven2/org/eclipse/wst/sse/core/maven-metadat...
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata...
[WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from/to
repository.jboss.com (
http://repository.jboss.com/maven2/): Connect to
repository.jboss.com:80 [
repository.jboss.com/10.5.105.13] failed: Connection timed out
(Connection timed out)
[WARNING] Could not transfer metadata org.eclipse.wst.sse:core/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): Cannot access
http://download.java.net/maven/1 with type legacy using the available connector factories:
BasicRepositoryConnectorFactory
Downloading:
http://repository.jboss.com/maven2/org/eclipse/wst/common/uriresolver/mav...
Downloading:
http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/mave...
[WARNING] Could not transfer metadata
org.eclipse.wst.common:uriresolver/maven-metadata.xml from/to
repository.jboss.com
(
http://repository.jboss.com/maven2/): Connect to repository.jboss.com:80
[
repository.jboss.com/10.5.105.13] failed: Connection timed out (Connection timed out)
[WARNING] Could not transfer metadata
org.eclipse.wst.common:uriresolver/maven-metadata.xml from/to
maven-repository.dev.java.net (
http://download.java.net/maven/1): Cannot access
http://download.java.net/maven/1 with type legacy using the available connector factories:
BasicRepositoryConnectorFactory
[WARNING] Failure to transfer org.eclipse.wst.sse:core/maven-metadata.xml from
http://repository.jboss.com/maven2/ was cached in the local repository, resolution will
not be reattempted until the update interval of
repository.jboss.com has elapsed or
updates are forced. Original error: Could not transfer metadata
org.eclipse.wst.sse:core/maven-metadata.xml from/to
repository.jboss.com
(
http://repository.jboss.com/maven2/): Connect to repository.jboss.com:80
[
repository.jboss.com/10.5.105.13] failed: Connection timed out (Connection timed out)
[WARNING] Failure to transfer org.eclipse.wst.sse:core/maven-metadata.xml from
http://download.java.net/maven/1 was cached in the local repository, resolution will not
be reattempted until the update interval of
maven-repository.dev.java.net has elapsed or
updates are forced. Original error: Could not transfer metadata
org.eclipse.wst.sse:core/maven-metadata.xml from/to
maven-repository.dev.java.net
(
http://download.java.net/maven/1): Cannot access
http://download.java.net/maven/1 with
type legacy using the available connector factories: BasicRepositoryConnectorFactory
[INFO] ------------------------------------------------------------------------
{code}
This is caused by issue with maven-jdocbook-plugin PRESSGANG-60.
There are two basic solutions to this:
# only exclude org.eclipse.* dependencies in plugin dependency management since they are
not used anyway (info from the PRESSGANG-60)
# do a full update of maven-jdocbook-plugin to latest version along with usage of new
org.jboss.pressgang extensions instead of current org.jboss:jbossorg-jdocbook* ones