The best way to avoid that problem is to use a parent pom that define 
pluginmanagement  so that each plugin used is clearly defined for your modules.

You need that all the pom inherit in some way from this parent pom.

Tomas
________________________________________
De : Julien Stern [EMAIL PROTECTED]
Date d'envoi : mercredi 23 juillet 2008 19:51
À : Maven Users List
Objet : Versions of plugins used ...

Hi list,

I have a project with a top-level pom and with modules.

Maven uses different versions of plugins if I run mvn from the top level
or directly within the modules.

I tried with 2.0.7, 2.0.8 and 2.0.9.

I assume that this behavior is because different modules use different
versions of plugins and that a global compilation can use only one
plugin version... Is that the case? Or is there a way to use different
versions of plugins in different modules?

Thanks in advance.

--
Julien

---------------------------------------------------------------------
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