You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2006/04/28 13:09:34 UTC
RE : Prevent Inheritance
http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin
@inherited
-Olivier
-----Message d'origine-----
De : Wilfred Springer [mailto:wilfred.springer@tomtom.com]
Envoyé : vendredi 28 avril 2006 13:05
À : Maven Users List
Objet : Prevent Inheritance
Hi all,
Is there any way to prevent a plugin in your plugins section to be
inherited by submodules?
Thanks,
Wilfred
Wilfred Springer | Software Architect | TomTom |
wilfred.springer@tomtom.com | +31 646 720 990
This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : Prevent Inheritance
Posted by John Casey <ca...@gmail.com>.
In your parent POM, try:
<build>
<plugins>
<plugin>
[...]
<!-- this controls inheritance to children -->
<inherited>false</inherited>
</plugin>
</plugins>
</build>
HTH,
John
On 4/28/06, Olivier Lamy <ol...@accor.com> wrote:
>
> http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin
>
> @inherited
>
> -Olivier
>
> -----Message d'origine-----
> De : Wilfred Springer [mailto:wilfred.springer@tomtom.com]
> Envoyé : vendredi 28 avril 2006 13:05
> À : Maven Users List
> Objet : Prevent Inheritance
>
>
> Hi all,
>
> Is there any way to prevent a plugin in your plugins section to be
> inherited by submodules?
>
> Thanks,
>
> Wilfred
>
>
> Wilfred Springer | Software Architect | TomTom |
> wilfred.springer@tomtom.com | +31 646 720 990
>
>
>
> This e-mail, any attachments and the information contained therein ("this
> message") are confidential and intended solely for the use of the
> addressee(s). If you have received this message in error please send it back
> to the sender and delete it. Unauthorized publication, use, dissemination or
> disclosure of this message, either in whole or in part is strictly
> prohibited.
>
> --------------------------------------------------------------------------------------------------------------
> Ce message électronique et tous les fichiers joints ainsi que les
> informations contenues dans ce message ( ci après "le message" ), sont
> confidentiels et destinés exclusivement à l'usage de la personne à laquelle
> ils sont adressés. Si vous avez reçu ce message par erreur, merci de le
> renvoyer à son émetteur et de le détruire. Toutes diffusion, publication,
> totale ou partielle ou divulgation sous quelque forme que se soit non
> expressément autorisées de ce message, sont interdites.
>
> -------------------------------------------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>