You may still indeed have problems. That depends on your current ant structure. 
As Curtis mentioned, if your ant folder structure is "reasonable" then 
instructing maven to use this directory structure is doable.  But how does one 
define reasonable?

For example, does your ant build copy .class files between jars?  Does your ant 
build generate more than one artifact?  If the answer is yes to either of these 
questions then you will likely have to do some restructuring. And in that case, 
you are better off using the default Maven structure to keep things simple. In 
my experience, ant builds usually have these kind of complexities which make 
reusing the ant directory structure problematic.

But if your ant build doesn't have these complexities, then you should be fine.

> -----Original Message-----
> From: uday shankar [mailto:[email protected]]
> Sent: Thursday, May 19, 2011 2:10 PM
> To: [email protected]
> Subject: RE: Maven folder structure
> 
> After we override the default folder structure by making the changes in
> the
> build tag of the pom.xml file. when we run any command say mvn package
> doesn't it consider the folder structure mentioned in the <build> tag.
> If
> this is the case we should not have anyproblem even if we are changing
> the
> folder structure because in that case the plugins like package will be
> considering the altered structure
> 
> --
> View this message in context: http://maven.40175.n5.nabble.com/Maven-
> folder-structure-tp4409276p4410472.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> 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