Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15490

Multiple declaration of maven-enforcer-plugin found in pom.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Multiple declaration of maven-enforcer-plugin in pom.xml is causing the below warning during build.

      [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.
      

        Attachments

        1. HADOOP-15490.000.patch
          2 kB
          Nanda kumar

          Activity

            People

            • Assignee:
              nandakumar131 Nanda kumar
              Reporter:
              nandakumar131 Nanda kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: