-
1. Re: Not picking up sources consistenly?
pgier Aug 8, 2008 5:10 PM (in response to starksm64)I changed the pom to automatically download the sources. The source download can be skipped using this
mvn package -Dskip-download-sources
-
2. Re: Not picking up sources consistenly?
dimitris Sep 5, 2008 1:37 PM (in response to starksm64)I've reverted the change a few days ago, because the hudson builds were crawling downloading the sources each and every time.
-
3. Re: Not picking up sources consistenly?
dimitris Sep 5, 2008 1:39 PM (in response to starksm64)For AS trunk, that is. There was a discussion in the AS & QA list.
-
4. Re: Not picking up sources consistenly?
starksm64 Sep 5, 2008 1:39 PM (in response to starksm64)Can we just override that in the hudson builds then? We need the source downloaded by default for the average developer usage.
-
5. Re: Not picking up sources consistenly?
dimitris Sep 5, 2008 1:58 PM (in response to starksm64)That's what I've asked by got no response.
-
6. Re: Not picking up sources consistenly?
pgier Sep 5, 2008 2:15 PM (in response to starksm64)You should be able to just use the above option to skip the source download in hudson. So something like this should work:
./build.sh -Dskip-download-sources
If you point me to which hudson build you want to change, I can do it. -
7. Re: Not picking up sources consistenly?
pgier Sep 5, 2008 4:13 PM (in response to starksm64)Correction to my previous post: the shell script doesn't seem to pass the parameter through directly to maven so if you turn on the default source download, then you can disable it with this.
./build.sh -Dthirdparty.maven.opts="-Dskip-download-sources"
-
8. Re: Not picking up sources consistenly?
dimitris Sep 6, 2008 2:59 AM (in response to starksm64)Ok, I've re-enabled the downloading of sources in AS trunk.
Now you've got to disable it on all 7 hudson runs:
http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/
JBoss-AS-5.0.x
JBoss-AS-5.0.x-TestSuite-jrockit15
JBoss-AS-5.0.x-TestSuite-sun15
JBoss-AS-5.0.x-TestSuite-sun15-sun16
JBoss-AS-5.0.x-TestSuite-sun16-sun16
JBoss-AS-5.0.x-sun16
JBoss-AS-5.0.x-windows
And now that the sources are downloaded you've got to fix this, too:
https://jira.jboss.org/jira/browse/JBAS-5898 :-) -
9. Re: Not picking up sources consistenly?
adrian.brock Sep 8, 2008 11:41 AM (in response to starksm64)"dimitris@jboss.org" wrote:
Ok, I've re-enabled the downloading of sources in AS trunk.
This is ridiculous. It is now trying to download sources on every build I do
and it is not incremental, or at least something is very slow.
It is checking both the maven and jboss repositories for every jar.
There's also clearly an issue with irrelevance as well:
4.0.x and 4.2.x sources referenced from the jboss 5 build????
The jboss-common reference is well dated as well.
What's causing this?[java] Downloading: http://repository.jboss.org/maven2/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2-sources.jar [java] Downloading: http://repo1.maven.org/maven2/jboss/jboss-j2ee/4.0.2/jboss-j2ee-4.0.2-sources.jar [java] Downloading: http://repository.jboss.org/maven2/jboss/jboss-jmx/4.2.2.GA/jboss-jmx-4.2.2.GA-sources.jar [java] Downloading: http://repo1.maven.org/maven2/jboss/jboss-jmx/4.2.2.GA/jboss-jmx-4.2.2.GA-sources.jar [java] Downloading: http://repository.jboss.org/maven2/jboss/jboss-system/4.2.2.GA/jboss-system-4.2.2.GA-sources.jar [java] Downloading: http://repo1.maven.org/maven2/jboss/jboss-system/4.2.2.GA/jboss-system-4.2.2.GA-sources.jar [java] Downloading: http://repository.jboss.org/maven2/jboss/common/jboss-common-client/1.2.1.GA-brew/jboss-common-client-1.2.1.GA-brew-sources.jar [java] Downloading: http://repo1.maven.org/maven2/jboss/common/jboss-common-client/1.2.1.GA-brew/jboss-common-client-1.2.1.GA-brew-sources.jar etc.
-
10. Re: Not picking up sources consistenly?
pgier Sep 8, 2008 12:38 PM (in response to starksm64)It's not trying to download the sources every time for me. The second time I run the build it just lists the sources that are already downloaded.
It looks like the jboss 4 stuff is coming from a dependency in org.jboss.jaxr:juddi-saaj and org.jboss.jaxr:juddi-service. Do we just need exclusions for these, or should the dependency be changed? -
11. Re: Not picking up sources consistenly?
adrian.brock Sep 8, 2008 12:44 PM (in response to starksm64)"pgier" wrote:
It's not trying to download the sources every time for me. The second time I run the build it just lists the sources that are already downloaded.
It's trying to do something. After 5 minutes (and not getting very far through the list)
I started looking for how to disable it (not obvious from the pom.xml) and found this thread. -
12. Re: Not picking up sources consistenly?
dimitris Sep 10, 2008 3:53 AM (in response to starksm64)Paul, can you look at https://jira.jboss.org/jira/browse/JBAS-5898 and make sure the hudson runs are configured properly?