Re: Using a parent POM plugin config in only some child modules?

2007-09-28 Thread Gisbert Amm
Steinar Bang wrote: Tomasz Pik [EMAIL PROTECTED]: Configure plugins in profiles in parent pom and activate profiles in child poms? This won't be automatic (I do not know if there's a way to activate profile using packaging, maybe there's?) - you'll need to add avtivation to child poms but

Re: Using a parent POM plugin config in only some child modules?

2007-09-27 Thread Steinar Bang
Wayne Fay [EMAIL PROTECTED]: You just need multiple parents. One top parent, then another one below it that sets the dependency plugin configs, then have your bundles inherit from it, and the other modules inherit from the top parent. That would require a project restructuring for us. We

Re: Using a parent POM plugin config in only some child modules?

2007-09-27 Thread Tomasz Pik
On 9/26/07, Steinar Bang [EMAIL PROTECTED] wrote: Is it possible to create a plugin configuration in a top level POM with packagingpom/packaging, that will only be executed in child modules with packagingbundle/packaging (modules using the apache FELIX maven-bundle-plugin)? The use case is

Re: Using a parent POM plugin config in only some child modules?

2007-09-27 Thread Steinar Bang
Tomasz Pik [EMAIL PROTECTED]: Configure plugins in profiles in parent pom and activate profiles in child poms? This won't be automatic (I do not know if there's a way to activate profile using packaging, maybe there's?) - you'll need to add avtivation to child poms but should solve problem

Re: Using a parent POM plugin config in only some child modules?

2007-09-27 Thread Tomasz Pik
On 9/27/07, Steinar Bang [EMAIL PROTECTED] wrote: Tomasz Pik [EMAIL PROTECTED]: Configure plugins in profiles in parent pom and activate profiles in child poms? This won't be automatic (I do not know if there's a way to activate profile using packaging, maybe there's?) - you'll need to

Using a parent POM plugin config in only some child modules?

2007-09-26 Thread Steinar Bang
Is it possible to create a plugin configuration in a top level POM with packagingpom/packaging, that will only be executed in child modules with packagingbundle/packaging (modules using the apache FELIX maven-bundle-plugin)? The use case is where I have a dependency:copy config in the POM of each

Re: Using a parent POM plugin config in only some child modules?

2007-09-26 Thread Wayne Fay
You just need multiple parents. One top parent, then another one below it that sets the dependency plugin configs, then have your bundles inherit from it, and the other modules inherit from the top parent. Wayne On 9/26/07, Steinar Bang [EMAIL PROTECTED] wrote: Is it possible to create a plugin