[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    Re: [C3] Build warnings from duplicate javacc-maven-plugin definition
From:       Francesco Chicchiriccò <ilgrosso () apache ! org>
Date:       2011-07-01 13:08:26
Message-ID: 4E0DC6CA.1010809 () apache ! org
[Download RAW message or body]

On 01/07/2011 14:50, Hugh Sparks wrote:
> [Cocoon trunk, SVN 1131615]
> There are two identical plugin definitions in parent/pom.xml:
> ...
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>javacc-maven-plugin</artifactId>
> <version>2.6</version>
> </plugin>
> ...
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>javacc-maven-plugin</artifactId>
> <version>2.6</version>
> </plugin>
> ...
>
> Maven complains during the build:
>
>    [WARNING] Some problems were encountered while building the effective
> model for
>        org.apache.cocoon.parent:cocoon-parent:pom:3.0.0-beta-1-SNAPSHOT
>    [WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)'
>        must be unique but found duplicate declaration of plugin
>        org.codehaus.mojo:javacc-maven-plugin @ line 713, column 17
>    [WARNING]
>    [WARNING] It is highly recommended to fix these problems because they
>        threaten the stability of your build.
>    [WARNING]
>    [WARNING] For this reason, future Maven versions might no longer 
> support
>        building such malformed projects.

I should have corrected most of these warnings right now (revision 1141927).

-- 
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic