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