2010/9/13 Baptiste MATHUS <[email protected]>:
> Hi all,
>
> I'm currently trying to manually run dependency:get, but it doesn't work
> since maven is trying to use 2.0 plugin version (ang "get" mojo came with
> 2.1).
>
> Apart from using the full form command, how does maven decide which version
> to use for a plugin? Does it use the version defined in super-pom or
> something else?

Yes, or the latest compatible version if not defined (IIRC).

> If possible, how to (re)define that it should use 2.1
> instead of 2.0?

<build>
<plugins>
<plugin>
....
<version>2.1</version>
</plugin>
</plugins>
</build>

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to