Brad plugin  configuration should be inherited by default

https://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/it/linkages/win32/pom.xml

-D


On 6/27/06, Stefan Hübner <[EMAIL PROTECTED]> wrote:

I think, that inheriting plugin configuration, whether by <plugins> or
<pluginManagement>, only inherits full configurations. That meens,
whenever you reference a plugin and define a configuration-element
inside, its inherited configuration will be lost.

That's just my experience (and I think a was reading about this
behaviour, but not sure where or when) and I'd appreciate any other
opinions :-)

--Stefan

2006/6/27, Brad Harper <[EMAIL PROTECTED]>:
> Stefan:
>
> Until recently, I've had the expectation that plugin configurations
> *should* be inherited by default. Apparently not.
>
> Another poster (Dan Tran) has recommended using <pluginManagement> to
> control build configuration inheritance. "Better Builds" doesn't even
> reference the element.
>
> I've tried using <inherited>true</inherited> in several positions, now
> including within <pluginManagement>, but without success.
>
> Brad
>
> -----Original Message-----
> From: Stefan Hübner [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 27, 2006 10:59 AM
> To: Maven Users List
> Subject: Re: plugin configuration inheritance?
>
>
> Hi Brad,
>
> see comment inside:
>
> 2006/6/27, Brad Harper <[EMAIL PROTECTED]>:
> > Are plugin configurations inherited/cumulative? E.g., given
> > project 'A' descriptor containing
> >
> >    <build>
> >      <plugins>
> >        <plugin>
> >          <artifactId>P</artifactId>
> >            <configuration>
> >              blah-1
> >
> > and sub-project/module 'B', with descriptor containing
> >
> >    <build>
> >      <plugins>
> >        <plugin>
> >          <artifactId>P</artifactId>
> >            <configuration>
> >              blah-2
> >              blah-3
> >
> > Does plugin 'P' see 'blah-1' in its configuration?
> >
> I would assume, it doesn't. Not sure though.
>
> --Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to