Richard

"I want plugin A to be executed always and plugin A to decide whether plugin B 
(defined in
pluginManagement) should be executed"what criteria are you using to trigger the 
execution of plugin B by plugin A?

Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.


> Date: Tue, 14 Aug 2012 06:46:03 -0700
> From: [email protected]
> To: [email protected]
> Subject: RE: MavenProject/MavenSession not injected when executing plugin 
> from a plugin
> 
> Some additional info on the last thread :
> 
> Plugin A is defined in the <build><plugins> part, plugin B is defined in the
> <build><pluginManagement>-part.
> 
> It appears that injection as specified in the configuration is not properly
> executed when the plugin is defined in the pluginManagement part (while this
> worked fine in Maven 2).
> 
> If I add plugin B to the <build><plugin>-part dependency injection is
> executed fine however this way plugin B will be executed for every project
> by default. This is not the behaviour I want because I want plugin A to be
> executed always and plugin A to decide whether plugin B (defined in
> pluginManagement) should be executed.
> 
> Hope this additional info helps.
> 
> Regards,
> Richard
> 
> 
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/MavenProject-MavenSession-not-injected-when-executing-plugin-from-a-plugin-tp5716570p5717052.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
                                          

Reply via email to