You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2018/05/31 18:02:00 UTC

[jira] [Comment Edited] (HADOOP-15490) Multiple declaration of maven-enforcer-plugin found in pom.xml

    [ https://issues.apache.org/jira/browse/HADOOP-15490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16496922#comment-16496922 ] 

Bharat Viswanadham edited comment on HADOOP-15490 at 5/31/18 6:01 PM:
----------------------------------------------------------------------

Hi [~nandakumar131]

Thank You for reporting and providing the patch.

I built the code using the patch, now the Warning's are not appearing during the build.

LGTM +1.

ASF license warning is not related to this patch.

 

Will commit this shortly.

 


was (Author: bharatviswa):
Hi [~nandakumar131]

Thank You for reporting and providing the patch.

I built the code using the patch, now the Warning's are not appearing during the build.

LGTM +1.

 

Will commit this shortly.

 

> Multiple declaration of maven-enforcer-plugin found in pom.xml
> --------------------------------------------------------------
>
>                 Key: HADOOP-15490
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15490
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Minor
>         Attachments: HADOOP-15490.000.patch
>
>
> Multiple declaration of {{maven-enforcer-plugin}} in {{pom.xml}} is causing the below warning during build.
> {noformat}
> [WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-project:pom:3.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-enforcer-plugin @ org.apache.hadoop:hadoop-main:3.2.0-SNAPSHOT, /Users/nvadivelu/codebase/apache/hadoop/pom.xml, line 431, column 15
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-main:pom:3.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-enforcer-plugin @ line 431, column 15
> [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.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org