Re: How to compile code using maven

2011-02-24 Thread Benson Margulies
Sent: Wednesday, February 23, 2011 7:23 PM > To: Maven Developers List > Subject: Re: How to compile code using maven > > are you sure you want a maven build? if you have an elaborate ant > build you can use the maven any tasks to consume and/or produce > artifacts. > > On F

Re: How to compile code using maven

2011-02-24 Thread Stephen Connolly
seless build tool, so don't do them -Stephen > > Any suggestion ? > > Thanks in advance. > > Thanks, > Amol > > -Original Message- > From: Benson Margulies [mailto:bimargul...@gmail.com] > Sent: Wednesday, February 23, 2011 7:23 PM > To: Maven Developers

RE: How to compile code using maven

2011-02-24 Thread Fuke, Amol
e. Thanks, Amol -Original Message- From: Benson Margulies [mailto:bimargul...@gmail.com] Sent: Wednesday, February 23, 2011 7:23 PM To: Maven Developers List Subject: Re: How to compile code using maven are you sure you want a maven build? if you have an elaborate ant build you can use

Re: How to compile code using maven

2011-02-23 Thread Benson Margulies
are you sure you want a maven build? if you have an elaborate ant build you can use the maven any tasks to consume and/or produce artifacts. On Feb 23, 2011, at 8:45 AM, oliver wrote: > Hi, > > as suggested by Nicolas you should adapt you project structure according the > maven guideline. But a

Re: How to compile code using maven

2011-02-23 Thread oliver
Hi, as suggested by Nicolas you should adapt you project structure according the maven guideline. But as I know from several projects moved from Ant to Maven this is not always possible. You can tell Maven your project structure as described on my blog at http://oli.blogger.de/stories/1689356/:

Re: How to compile code using maven

2011-02-23 Thread nicolas de loof
Don't consider Maven as a scripting engine Maven works based on conventions, and plugins use them to avoid configuration and scripting Don't try to override conventions as you do in compiler, war plugin. Follow them and discover how the plugins can naturaly run in your build without anything to co

How to compile code using maven

2011-02-23 Thread Fuke, Amol
Hi All, I have ant build file and now need to convert it into mvn pom file. My problem is how do I get my code compiled using pom.xml. I have below pom xml; *** http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.a