Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4052

Maven build is unnecessarily updating org.eclipse.* dependencies everytime

    Details

      Description

      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).

      [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] ------------------------------------------------------------------------
      

      This is caused by issue with maven-jdocbook-plugin PRESSGANG-60.
      There are two basic solutions to this:

      1. only exclude org.eclipse.* dependencies in plugin dependency management since they are not used anyway (info from the PRESSGANG-60)
      2. 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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jbliznak Jan Blizňák
                Reporter:
                jbliznak Jan Blizňák
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: