There isn't any way to do it from settings.xml. You can use
mvn dependency:sources
Other than that I think you would have to modify the pom to have it done automatically.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132992#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...