I'm not a Maven dev but I've been using it for some time.

For ease of use and the greatest chance of success with Maven, please
plan to restructure your project to match the standard project layout
suggested by Maven. Those of us on the list generally suggest using
SVN for your code repository rather than CVS or VSS etc as moving
things around is supported and simple in SVN.

You can override most everything in the poms but then you will end up
with large pom files and non-standard layouts, which are two signs of
a poorly implemented Maven project, imho.

Wayne

On 6/19/06, Dave Hoffer <[EMAIL PROTECTED]> wrote:
Tejesh,

I'm no maven expert...just getting used to it myself.

The way I would answer your question is that you should use the standard
directory structure because it will make things easier for you.  My
understanding is that you can override these things....however if you
are the type that doesn't like convention (and following convention) you
might not like maven.  Maven is about simplicity but you have to give up
control to get it.

Just my two cents.

-dh

-----Original Message-----
From: Tejesh Shetty [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 4:49 PM
To: [email protected]
Subject: thinking of moving to maven from ant

Hi,



Currently I use ant build scripts for many of my projects basically to
create EAR and nothing else. Recently I have been reading about maven
and things it can do; not only build projects but so many other things.
But there are some things I am worried about before I completely move to
maven. One of the very important things is the directory structure, when
I was reading 'better build with maven' it always says how things are
easier when you follow standard directory structure; how much of a maven
script changes you have to do if you do not follow standards and still
be able to build and use maven. One of the things with ANT you pretty
much control where each jar or each file goes and sit in WAR/EAR. Can
you still do all of that in maven? If I don't use standard directory
structure will I be able to use maven core tasks to control what goes
into each ears, wars or jars?



Is it true that you can only use maven if you follow their standard
directory structure or else it is going to be nightmare?



Thanks.



TJ.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to