You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by aldana <al...@gmx.de> on 2007/09/25 19:11:10 UTC

howto express that plugin should only execute with certain package type

i want to execute/load a plugin only if a pom is of a certain packaging.

i want to express this in a parent pom which all my projects are inheriting
from. for instance: my assembly plugin should use a different assembly
descriptor if the packaging is set to war. for avoiding duplication i would
like to set this in one parent pom.

so is it possible to set conditional (in view of packaging type) plugin
execution? the pom.xml reference did not give me a hint for this...

thanks.
-- 
View this message in context: http://www.nabble.com/howto-express-that-plugin-should-only-execute-with-certain-package-type-tf4516960s177.html#a12884223
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org