> I have a couple of questions about using the multi-project plugin. > > 1. I'm basing my project structure off of the example at > (http://wiki.codehaus.org/maven/CreatingJ2eeApplications) because it's > Eclipse friendly. However, it's unclear how I can manage my project > with Eclipse using this structure. Do I type "maven eclipse" in the > basedir, the root dir or in each individual sub-project? Can I use > Eclipse to manage the entire project or just sub-modules?
Just add this <preGoal name="eclipse"> <maven:reactor basedir="${basedir}" includes="*/project.xml" excludes="" goals="eclipse" banner="Building" ignoreFailures="false" /> </preGoal> to maven.xml. This will generate all the .classpath and .propject files in subdirectories when you run maven eclipse from your top level project. Then import each of the projects (Eclipse by the way does not let you import proejcts in bulk, so this bit will be an ugly one depending on how many subprojects you have). Once done with that just create the set in eclipse to include all the projects projects and you get a pretty set of subprojects related to your project. So it works with a little bit of work. What would definietely help is if Eclipse had a bulk import of projects, rather than one at a time. The rest of the procedures are fairly simple to do and do not take all that long. Alex. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]