File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven 2: Project Nesting and Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven 2: Project Nesting and Eclipse" Watch "Maven 2: Project Nesting and Eclipse" New topic
Author

Maven 2: Project Nesting and Eclipse

Jamie Jackson
Ranch Hand

Joined: Jan 11, 2005
Posts: 58
I'm on chapter 3 of the Maven 2 "Better Builds with Maven" free PDF book, and the downloaded project contains nested projects.

I ran "mvn eclipse:eclipse" on the parent project, but when I open it in Eclipse, it only opens the (lowest) child projects, presumably because Eclipse doesn't like overlapping project directories.

Can someone offer some guidance as to how to work with this Maven sample project in Eclipse, that is specifically, how to get the individual parent/child modules/projects to play well with each other?

Thanks,
Jamie
Jamie Jackson
Ranch Hand

Joined: Jan 11, 2005
Posts: 58
I found a similar post here, but I think things may have changed, as I think Eclipse >= 3.2M5 supports project nesting, but then I think there are problems with subclipse.

I'd really like to be able to use Maven, Eclipse, and Subclipse on the same project. Is that so weird? ;-)

Thanks,
Jamie

P.S.: Side (and OT) question: Is my build of Eclipse >= 3.2M5?
Version: 3.2.0
Build id: M20060629-1905
[ July 18, 2006: Message edited by: Jamie Jackson ]
Ken Weiner
Greenhorn

Joined: Aug 13, 2006
Posts: 1
So did you ever figure out how to set things up in Eclipse 3.2 correctly for a maven multi-project build? I am trying to get the same thing working.
 
GeeCON Prague 2014
 
subject: Maven 2: Project Nesting and Eclipse