Quicker AS build?
jaikiran Jan 28, 2010 4:01 AMWhen building the AS trunk, i usually see numerous snapshots being downloded. This seems to happen (atleast) once a day. For example, this morning when i triggered a build on the "testsuite" module of AS trunk:
..testsuite$] ./build.sh clean jars
I see a whole lot of snapshots being downloaded:
init-dependencies: [maven:dependencies] [INFO] snapshot org.jboss.jbossas:jboss-as-aspects:6.0.0-SNAPSHOT: checking for updates from snapshots.jboss.org [maven:dependencies] Downloading: org/jboss/jbossas/jboss-as-aspects/6.0.0-SNAPSHOT/jboss-as-aspects-6.0.0-20100128.002825-636.pom from repository snapshots.jboss.org at http://snapshots.jboss.org/maven2 [maven:dependencies] Transferring 5K from snapshots.jboss.org [maven:dependencies] Downloading: org/jboss/aop/jboss-aop/2.1.8.GA/jboss-aop-2.1.8.GA.pom from repository repository.jboss.org at http://repository.jboss.org/maven2 [maven:dependencies] Transferring 20K from repository.jboss.org [maven:dependencies] Downloading: org/jboss/aop/jboss-aop-parent/2.1.8.GA/jboss-aop-parent-2.1.8.GA.pom from repository repository.jboss.org at http://repository.jboss.org/maven2 [maven:dependencies] Transferring 18K from repository.jboss.org [maven:dependencies] Downloading: org/jboss/aop/jboss-aop-aspects/2.1.8.GA/jboss-aop-aspects-2.1.8.GA.pom from repository repository.jboss.org at http://repository.jboss.org/maven2 [maven:dependencies] Transferring 3K from repository.jboss.org [maven:dependencies] Downloading: org/jboss/aop/jboss-aop-asintegration-core/2.1.8.GA/jboss-aop-asintegration-core-2.1.8.GA.pom from repository repository.jboss.org at http://repository.jboss.org/maven2 [maven:dependencies] Transferring 5K from repository.jboss.org [maven:dependencies] Downloading: org/jboss/aop/pluggable-instrumentor/2.1.8.GA/pluggable-instrumentor-2.1.8.GA.pom from repository repository.jboss.org at http://repository.jboss.org/maven2 [maven:dependencies] Transferring 1K from repository.jboss.org [maven:dependencies] Downloading: org/jboss/aop/jboss-aop-asintegration-jmx/2.1.8.GA/jboss-aop-asintegration-jmx-2.1.8.GA.pom from repository repository.jboss.org at http://repository.jboss.org/maven2 [maven:dependencies] Transferring 6K from repository.jboss.org [maven:dependencies] Downloading: org/jboss/aop/jboss-aop-asintegration-mc/2.1.8.GA/jboss-aop-asintegration-mc-2.1.8.GA.pom from repository repository.jboss.org at http://repository.jboss.org/maven2 ....
This snapshot download lasts anywhere between 15-20 minutes (and sometimes even half an hour) on my system. Is there any way this can be avoided?
By the way, my understanding was that the AS doesn't depend on any snapshot dependencies. So why are these being downloaded in first place?