Maven2 Multiple Module Projects - Flat Layout

2 views
Skip to first unread message

Juan G. Arias

unread,
Jan 24, 2008, 7:12:01 PM1/24/08
to Vulcan Users
Hi all!
Does vulcan support import a project with "Flat Project Layout" from
SVN?

Because i'm getting an error that says that Vulcan cannot find module
POM files, with a path like:
"my-project/trunk/parent/../module1/pom.xml"

Regards
Juan Arias

Chris Eldredge

unread,
Jan 25, 2008, 8:29:52 AM1/25/08
to vulcan...@googlegroups.com
Hi Juan,

The testing and support for importing maven2 projects was all done with the expectation that modules are nested under the same directory that contains the parent pom.  Since your project does not follow this rule, it appears that Vulcan is getting confused.

If I find some time, I will look at the problem to see how easy it would be to fix.  If you'd like to track support for this effort formally, please open a new issue at http://code.google.com/p/vulcan/issues/list.

Chris

Juan Gabriel Arias

unread,
Jan 25, 2008, 8:38:49 AM1/25/08
to vulcan...@googlegroups.com
Chris, thanks for the answer.
I just wanted to be sure if i was doing something wrong, before reporting a bug.

Yes, i'll open an issue. Just my 2c for help with the project :)

Chris Eldredge

unread,
Jan 25, 2008, 9:23:25 AM1/25/08
to vulcan...@googlegroups.com
Juan,

Looking at your bug report, it looks like you might be able to work around this problem by telling subversion to checkout the parent of the directory containing the parent pom.  In other words, Vulcan is only getting the source code for the parent pom, so the modules don't get checked out.

Then, configure the maven plugin to use parent/pom.xml.

You would need to do this by manually changing the configuration instead of using the import feature.

Hope that helps,

Chris

Juan Gabriel Arias

unread,
Jan 25, 2008, 9:49:39 AM1/25/08
to vulcan...@googlegroups.com
Great! It works!
Thanks Chris!

Juan
Reply all
Reply to author
Forward
0 new messages