Re: Help with converting existing ant build to maven is required

2014-04-29 Thread Russell Gold
HI Maxim, Here is how I do child projects: com.meterware.totalizer totalizer 1.0-SNAPSHOT .. server Note that I am specifying the parent project, but neither the group nor the version for the child project - just the artifactId. The others are au

Re: Help with converting existing ant build to maven is required

2014-04-29 Thread Maxim Solodovnik
Thanks Russ! I was hoping there is a way to avoid specifying parent version in every sub-project. But it seems to be "Maven way" :) Maybe you know how to manage project forking? My projects are being build several times and the result of building parent project is unpredictable for whatever reaso

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Ron Wheeler
Can you describe the "forking" Maven problem in more detail. What does it do that you don't want and what does it not do that you need. Is there anything about your build that is different from the thousands of projects that use Maven to build Tomcat applications? Have you looked at using Mave

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Maxim Solodovnik
Hello Ron, I'll take a look at izPack as an alternative to assembly plugin (which seems to be able to create artifact similar to the current being created by ant) Currently I'm trying to build all jars/war/swf files need to be packed (by assembly plugin or izPack) Here is the stripped output of

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Maxim Solodovnik
Additional question: Is it possible to exclude compile time dependency (with all transitive sub-dependencies) form war libraries? (without listing libraries one by one) On Tue, Apr 29, 2014 at 9:44 PM, Maxim Solodovnik wrote: > Hello Ron, > > I'll take a look at izPack as an alternative to ass

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Ron Wheeler
Where will the transitive dependencies come from? There may be ways to do what you want. Ron On 29/04/2014 1:44 PM, Maxim Solodovnik wrote: Additional question: Is it possible to exclude compile time dependency (with all transitive sub-dependencies) form war libraries? (without listing librarie

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Maxim Solodovnik
Here is the structure: "Openmeetings Util" project has compile time dependency "Red5 server" Almost all other projects are dependent on "Openmeetings Util" and "Red5 server" (compile time) But When I'm creating war file in "Openmeetings Web" project I need to remove "Red5 server" and all it depen

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Ron Wheeler
So, as far as Maven is concerned, Red5 is scope "provided". You want it to reference it for compiling but should not put its classes in the jar or war since you are going to sneak it into the package without Maven noticing. Pretty standard problem. We make a lot of aggregation jars that are us

Re: Help with converting existing ant build to maven is required - forking

2014-04-29 Thread Barrie Treloar
On 30 April 2014 11:54, Maxim Solodovnik wrote: > Here is the structure: > > "Openmeetings Util" project has compile time dependency "Red5 server" > Almost all other projects are dependent on "Openmeetings Util" and "Red5 > server" (compile time) > > But When I'm creating war file in "Openmeeting