[jboss-dev-forums] [JBoss AS 7 Development] - Hacking on AS7
Craig Ringer
do-not-reply at jboss.com
Thu May 31 01:25:42 EDT 2012
Craig Ringer [https://community.jboss.org/people/ringerc] commented on the document
"Hacking on AS7"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-15596#comment-9998
--------------------------------------------------
It's frequently desirable when debugging AS7, or even just apps running on top of AS7, to get the sources for absolutely everything an AS7 release includes - not just directly JBoss AS 7 code, but things like Hibernate, Coyote, Mojarra, etc etc etc. An easy way to do this would be seriously nice.
I landed up doing:
git clone git://github.com/jbossas/jboss-as.git
cd jboss-as
git checkout 7.1
mvn dependency:sources
mvn dependency:resolve -Dclassifier=javadoc
for a somewhat unsatisfactory result, in that lots of libraries in the JBoss and Central repositories lack sources and/or JavaDoc. While IMO Central should reject artifacts whose pom specifies an open source license when not accompanied by sources and JavaDoc, alas it doesn't, so lots of libs are binary only.
When debugging, it's a serious pain to run into things you don't have sources for. How do *you* handle this? Is there some sane and simple technique to get all the sources, or do you have to go delving into the version control for each project you need sources for and do local Maven builds of the desired versions?
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120531/248016d5/attachment.html
More information about the jboss-dev-forums
mailing list