[jbossws-issues] [JBoss JIRA] (JBWS-4052) Maven build is unnecessarily updating org.eclipse.* dependencies everytime

Jan Blizňák (JIRA) issues at jboss.org
Mon Jan 23 12:33:00 EST 2017


Jan Blizňák created JBWS-4052:
---------------------------------

             Summary: 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


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.xml
Downloading: http://repository.jboss.com/maven2/org/eclipse/wst/css/core/maven-metadata.xml
[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-metadata.xml
Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/sse/core/maven-metadata.xml
[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/maven-metadata.xml
Downloading: http://snapshots.jboss.org/maven2/org/eclipse/wst/common/uriresolver/maven-metadata.xml
[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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbossws-issues mailing list