I believe the "right" way of doing this is by specifying a
<pluginManagement> in parent pom, and removing version numbers from
all plugin references everywhere else. ;-)

Wayne

On 5/4/06, jerome lacoste <[EMAIL PROTECTED]> wrote:
Hi.

if I have

P1
  |- P2

Now P2 requires a particular version of a plugin, newer than the one
taken by default by P1.

After changing P2's pom, if I build from P2, then my P2 build will work.
But if I build from P1, P2 will fail.

My solution was to move the plugin-version specification in the root
pom, but I found that counter intuitive. Comments?

Jerome

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