Aug 9th, 2006, 01:47 PM
Archetype, how to get sources vi maven?
Hi folks - ok, newish to maven but..
I create an archetype rtoject. Fine. I run mvn install and mvn eclipse:eclipse for the new project and open it. Fine.
My question - how do I have my project know about the source for the snapshot libraries which it uses in its java build path?
Ive missed a maven command here havent I? I guess I should be able to generate this project via maven and open it in eclipse withy it knowing source locations as well as library locations without me having to fiddle abouit in eclipse?
Any help here?
Aug 9th, 2006, 05:07 PM
install spring rich into your local repository like this:
>mvn source:jar install
after that you can run in your project:
that should give you all the sources in your project from spring rich