Re: How to take archetypeVersion in archetype-resources ?

2010-06-27 Thread Thiago Moreira (timba)
Hi Khin, How did you manage this problem? I'm trying to do the same thing. Thanks Thiago Moreira On Fri, Jun 11, 2010 at 11:29 AM, NGUYEN Cong Kinh cong_kinh.ngu...@it-sudparis.eu wrote: Hi everybody, I create a maven-archetype as the following: - myArchetype + pom.xml (1)

Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Sachin Jain
There is a top level pom.xml which calls two sub modules as below: modules modulemodule1/module modulemodule2/module /modules Where module2 is dependent on module1 The xjc plugin configuration in module1 pom.xml is as below: build plugins plugin

Re: Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Anders Hammar
You've run into a limitation/bug of Maven 2.x, where all executions of a plugin in a multi-module project has the same classpath. It has been fixed in Maven 3 (since one of the alphas). /Anders On Sun, Jun 27, 2010 at 12:31, Sachin Jain sac...@yahoo.co.in wrote: There is a top level pom.xml

[site] Missing 'class' attribute on source divs

2010-06-27 Thread Simone Tripodi
Hi all guys, I've been successfully using the APT format for ages to generate the maven site and recently (maybe using the latest site-plugin version) I noticed that for code parts, like dependencies ... dependency groupIdcom.acme/groupId

Re: Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Sachin Jain
Thanks Anders for quick clarification. Any workaround if I wanted to stick to 2.x? ...Sachin From: Anders Hammar and...@hammar.net To: Maven Users List users@maven.apache.org Sent: Sun, 27 June, 2010 5:02:15 PM Subject: Re: Can we define a plugin with

Re: [site] Missing 'class' attribute on source divs

2010-06-27 Thread Dennis Lundberg
On 2010-06-27 18:43, Simone Tripodi wrote: Hi all guys, I've been successfully using the APT format for ages to generate the maven site and recently (maybe using the latest site-plugin version) I noticed that for code parts, like dependencies

Re: Can we define a plugin with different configuration in multi module pom project

2010-06-27 Thread Anders Hammar
You need to unify the classpath for the plugin. Which, in your case, means that you need to refactor your projects. This issue is just one of the reasons I always recommend going Maven 3. /Anders On Sun, Jun 27, 2010 at 13:35, Sachin Jain sac...@yahoo.co.in wrote: Thanks Anders for quick

Re: [site] Missing 'class' attribute on source divs

2010-06-27 Thread Simone Tripodi
Thanks a lot Dennis, it nicely worked :) Cheers, Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Sun, Jun 27, 2010 at 7:54 PM, Dennis Lundberg denn...@apache.org wrote: On 2010-06-27 18:43, Simone Tripodi wrote: Hi all guys, I've been successfully using the APT