Announcement Announcement Module
Collapse
No announcement yet.
Archetype, how to get sources vi maven? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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

    Comment

    Working...
    X