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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • 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
          Nandakumar

        Activity

          People

            nanda Nandakumar
            nanda Nandakumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: