On 1/25/06, Travis Reeder <[EMAIL PROTECTED]> wrote: > Can someone please fill me in on this new maven structure with regards to > jars, excuse my ignorance, I've never used Maven before. > > I decided to start from a fresh new checkout since so much has changed and > I've run mvn install with no problems. So now I'm trying to set things up > in Idea, but it's not quite a smooth process. > > My questions: > 1. Where are all the required jars?? The only jars I see are in the > exploded examples directories. What about jsp-api, servlet-api, porlet, > junit, struts, and the other jars that are required? Shouldn't each module > have it's own /lib directory with the jars it requires?
No. Maven handles the dependencies and will download them into your "local repository". Usually that's in your home directory, ~/.m2/repository (I think) unless you move it by configuring a new location in ~/.m2/settings.xml . > 2. How is maven runnings tests if junit isn't there? > 3. How is maven compiling things if the required jars aren't there? > 4. How is anybody working on things with all these strange things going on? > ;) See above. :) If you're using IDEA, execute: $ mvn idea:idea and Maven will generate the project files for you. (I haven't actually tried this with MyFaces, or a complex multi-module build though... ) -- Wendy
