Emmanuel Lecharny wrote: > Alex Karasulu a écrit : > >> Emmanuel Lecharny wrote: >> >>> repositories are moving, plugins are moving, and this could break >>> everything. >> >> >> I share your frustration. > > It's not a frustration. It's a fear... > >> >> ... >> >>> - I want to build version X with maven plugins that have been used >>> when I tagged the version X. In two years, I want those plugins to be >>> available, even if they are full of bugs, just because the build has >>> been validated when X tag has been created. I don't want ANY plugin >>> to be updated on the fly. Is it possible ? >> >> >> I think there is a way for us to do this. Just use specific plugin >> versions to stabilize the build wrt plugin variance. This is the root >> of the problem. > > Yeah, I think there should be a way to tell maven - like we do for jars > - that we want to use a specific version of a plugin. Maven guys, any > clue ? >
I think you can specify a specific plugin version number in the pom.xml: http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk
