-
Aug 9th, 2006, 01:47 PM
#1
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?
Thanks
Alan
-
Aug 9th, 2006, 05:07 PM
#2
install spring rich into your local repository like this:
>mvn source:jar install
after that you can run in your project:
>mvn eclipse:eclipse
that should give you all the sources in your project from spring rich
___
Mathias
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules