Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » maven newbie question
maven newbie question [message #15218] Fri, 15 August 2008 19:21 Go to next message
Eclipse UserFriend
Originally posted by: rusty.berkeley.edu

I have an existing eclipse project, a "dynamic web application", which
I've been working on. I'm also using subversion (subclipse). My
problem is that my directory/folder structure is significantly different
than the maven convention, which I would prefer to use. I'm not sure
how I should proceed, and if m2eclipse can help me.

For example, could I simply reorganize my directory structure in
subversion to match the maven convention and then import it into a new
eclipse project that's been set up to play nicely with maven?

I guess I'm looking for suggestions on the best way to proceed, for long
term happiness, and not some hack method that I may regret later on.

Thanks
Re: maven newbie question [message #15286 is a reply to message #15218] Tue, 19 August 2008 19:04 Go to previous message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
Well, depending on your structure you can probably force Maven to accept it,
as it will allow you to tell it where certain things are (see the manual)..
but if you're looking for long term happiness, I would suggest modifying
your structure to conform to Maven standards, or at least as much as
possible. We use m2eclipse with a quite massive RCP build structure, and
even though it's not 100% according to Maven structure, we've managed to
adpot things just fine.

I don't think m2eclipse will make your life easier or harder. See it as a
very handy utility for running and compiling with Maven within Eclipse, not
a GUI for making an odd directory structure conform to Maven ;)

Hope that helps,
Regards,
Emil

"Rusty Wright" <rusty@berkeley.edu> wrote in message
news:g84kvr$ts9$1@build.eclipse.org...
>I have an existing eclipse project, a "dynamic web application", which I've
>been working on. I'm also using subversion (subclipse). My problem is
>that my directory/folder structure is significantly different than the
>maven convention, which I would prefer to use. I'm not sure how I should
>proceed, and if m2eclipse can help me.
>
> For example, could I simply reorganize my directory structure in
> subversion to match the maven convention and then import it into a new
> eclipse project that's been set up to play nicely with maven?
>
> I guess I'm looking for suggestions on the best way to proceed, for long
> term happiness, and not some hack method that I may regret later on.
>
> Thanks
Previous Topic:stable dev build 0.9.6.20080818-1350 is published
Next Topic:Maven embedder
Goto Forum:
  


Current Time: Thu Apr 25 17:23:09 GMT 2024

Powered by FUDForum. Page generated in 0.03514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top