Re: maven to build thin war

2010-11-22 Thread Ron Wheeler
Sticking with Ant is not a bad thing but making these changes will help in the long run. Ron On 22/11/2010 9:50 PM, Kamran Yadav wrote: Thanks everybody The project is legacy so cannot be changed easily. But surely whenever a window of change arises gradually breaking into smaller modules wi

Re: maven to build thin war

2010-11-22 Thread Kamran Yadav
Thanks everybody The project is legacy so cannot be changed easily. But surely whenever a window of change arises gradually breaking into smaller modules will help. On Mon, Nov 22, 2010 at 7:31 PM, Ron Wheeler wrote: > If you can not reorganize your project, you should probably stick with Ant.

Re: maven to build thin war

2010-11-22 Thread Ron Wheeler
If you can not reorganize your project, you should probably stick with Ant. Maven is a great tool but you have to use it in the way it was designed to be use. It relies a lot on the fact that your projects follow a set of conventions and if they do not, you will spend a lot of time fighting wit

Re: maven to build thin war

2010-11-22 Thread Ron Wheeler
A single project with 1500 files should be restructured into about 50 functionally independent projects that can be built, tested and deployed individually. All but one will produce JAR files. Use aggregation projects to group the small JARs into larger JARs that can be deployed and used as dep

Re: maven to build thin war

2010-11-22 Thread Jörg Schaible
Hi, Kamran Yadav wrote: > I am using 2.3.2 now but no improvement. > > I understand I can create a separate project for the classes only but that > is not in my control. > > Anyway is there anyway to produce the compiled class outside of > target/classes folder as in say C:\etc.etc. Well, plea

Re: maven to build thin war

2010-11-22 Thread Antonio Petrelli
2010/11/22 Kamran Yadav : > I am using 2.3.2 now but no improvement. > > I understand I can create a separate project for the classes only but that > is not in my control. > > Anyway is there anyway to produce the compiled class outside of > target/classes folder as in say C:\etc.etc. It's possibl

Re: maven to build thin war

2010-11-22 Thread Kamran Yadav
I am using 2.3.2 now but no improvement. I understand I can create a separate project for the classes only but that is not in my control. Anyway is there anyway to produce the compiled class outside of target/classes folder as in say C:\etc.etc. On Mon, Nov 22, 2010 at 2:07 PM, Antonio Petrelli

Re: maven to build thin war

2010-11-22 Thread Antonio Petrelli
2010/11/22 Kamran Yadav : >                                       > maven-compiler-plugin > 2.0 It seems a bit outdated, the latest version is 2.3.2. >   - The war file includes all the classes also but I don't want. I >   tried true also but then it includes the >   generated jar. I don't want

Re: maven to build thin war

2010-11-21 Thread Kamran Yadav
As mentioned in the first point the compilation of 1500 files is taking time. On Mon, Nov 22, 2010 at 12:54 PM, Kalpak Gadre wrote: > Hi Kamaran, > > It would help if you provide build log. Check what part in the build is > taking too long. > > Thanks, > > Kalpak > > > > Hi, >> >> I am a first

Re: maven to build thin war

2010-11-21 Thread Kalpak Gadre
Hi Kamaran, It would help if you provide build log. Check what part in the build is taking too long. Thanks, Kalpak Hi, I am a first time user of Maven. Earlier used Ant and now migrating the project to Maven. My environment is apache-maven-3.0, JDK 1.6.0_22 on Windows 7 platform. I am t

maven to build thin war

2010-11-21 Thread Kamran Yadav
Hi, I am a first time user of Maven. Earlier used Ant and now migrating the project to Maven. My environment is apache-maven-3.0, JDK 1.6.0_22 on Windows 7 platform. I am trying to build a web application. I have following issues - - The web app have 1500 Java files. The compilation takes ove