On Wed, 16 Feb 2011 19:35:07 +0530 Prashu Negu <[email protected]> wrote:
> Hi, > > One of the main advantage of Maven is its uniform build system that > uses centrally located plugins. In our development environment, we > have base POM where all plugin versions are explicitly mentioned as > below example. > > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <version>2.3.1</version> > </plugin> > > But, there is latest version of this plugin 2.3.2 available which we > didnt notice. What is the best practice to make sure our build system > using latest stable plugins apart from manually upgrading versions in > some common base POM? The versions plugin can help you [1] Especially, the display-plugin-updates goal tells you which plugin could be updated [2] : So just try a mvn versions:display-plugin-updates [1] http://mojo.codehaus.org/versions-maven-plugin/ [2] http://mojo.codehaus.org/versions-maven-plugin/display-plugin-updates-mojo.html -- Tony Chemit -------------------- tél: +33 (0) 2 40 50 29 28 email: [email protected] http://www.codelutin.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
