Hi Antonio, Thanks for your answer, but I know the configuration to be done in the pom.
As I stated, not clearly enough I guess, I'd like to understand how the version is defined w*hen used outside a project context* (i.e. a directory*not containing a pom.xml *). Thanks 2010/9/13 Antonio Petrelli <antonio.petre...@gmail.com> > 2010/9/13 Baptiste MATHUS <m...@batmat.net>: > > 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: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !