directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: Maven 3.0 plugin dependencies
Date Thu, 27 Jan 2011 09:57:38 GMT
Hi Emmanuel,

we actually define the plugin versions in the 'project' POM's
pluginManagement section. I already updated the versions there some
days ago. So as soon as the other projects (shared, apacheds, studio)
use the new parent the new plugin versions are used.

The question is if it is good practice, as we need to release a new
'project' POM quite often.

Kind Regards,
Stefan


On Thu, Jan 27, 2011 at 10:49 AM, Emmanuel Lecharny <elecharny@gmail.com> wrote:
> Hi guys,
>
> it seems that we are switching to Maven 3.0 completely. There are a few
> things we have to update in our pom.xml.
> 1) Plugins version
> We currently don't define the version of the maven plugin we are using. This
> is something we can add. Here is an example taken from the MINA project :
>
> <!-- Define the version for each of the used jar and maven plugins -->
> <properties>
> <!-- Maven Plugins -->
> <version.api.plugin>2.2.1</version.api.plugin>
> <version.assembly.plugin>2.2-beta-5</version.assembly.plugin>
> <version.bundle.plugin>2.2.0</version.bundle.plugin>
> <version.clean.plugin>2.3</version.clean.plugin>
> <version.compiler.plugin>2.3.2</version.compiler.plugin>
> <version.deploy.plugin>2.5</version.deploy.plugin>
> <version.gpg.plugin>1.1</version.gpg.plugin>
> <version.jar.plugin>2.3</version.jar.plugin>
> <version.javadoc.plugin>2.7</version.javadoc.plugin>
> <version.jxr.plugin>2.2</version.jxr.plugin>
> <version.model.plugin>2.2.1</version.model.plugin>
> <version.project.plugin>2.2.1</version.project.plugin>
> <version.rat.maven.plugin>1.0-alpha-3</version.rat.maven.plugin>
> <version.release.plugin>2.1</version.release.plugin>
> <version.remote.resources.plugin>1.1</version.remote.resources.plugin>
> <version.site.plugin>2.1</version.site.plugin>
> <version.source.plugin>2.1.2</version.source.plugin>
> <version.shade.plugin>1.4</version.shade.plugin>
> <version.surefire.plugin>2.7.1</version.surefire.plugin>
> <version.xbean.plugin>2.7.1</version.xbean.plugin>
> ...
>
> 2) Update versions
>
> Running mvn versions:display-plugin-updates on the project, I get this list
> of version we can update :
> [INFO]   maven-surefire-report-plugin ......................... 2.7.1 ->
> 2.7.2
> [INFO]   org.apache.felix:maven-bundle-plugin ................. 2.1.0 ->
> 2.2.0
> [INFO]   maven-surefire-plugin .................................. 2.6 ->
> 2.7.1
> [INFO]   maven-antrun-plugin ...................................... 1.5 ->
> 1.6
> [INFO]   org.codehaus.mojo:antlr-maven-plugin ..................... 2.1 ->
> 2.2
> [INFO]   maven-assembly-plugin ............................. 2.2-beta-5 ->
> 2.2
> [INFO]   maven-release-plugin ..................................... 2.0 ->
> 2.1
> [INFO]   maven-site-plugin ............................... 2.1.1 ->
> 3.0-beta-3
> [WARNING]   com.agilejava.docbkx:docbkx-maven-plugin ...............
> (unknown)
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>

Mime
View raw message