Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2916

Get rid of POM model related warnings in Ranger build output

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 2.1.0
    • Component/s: Ranger
    • Labels:
      None

      Description

      These warnings are seen in the build output.

      [WARNING] Some problems were encountered while building the effective model for org.apache.ranger:ranger-plugins-audit:jar:2.1.0-SNAPSHOT
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.elasticsearch.plugin:parent-join-client:jar -> duplicate declaration of version ${elasticsearch.version} @ line 161, column 21
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.elasticsearch.plugin:aggs-matrix-stats-client:jar -> duplicate declaration of version ${elasticsearch.version} @ line 166, column 21
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.elasticsearch.plugin:rank-eval-client:jar -> duplicate declaration of version ${elasticsearch.version} @ line 171, column 21
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.elasticsearch.plugin:lang-mustache-client:jar -> duplicate declaration of version ${elasticsearch.version} @ line 176, column 21
      [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.
      [WARNING]
      [WARNING] The project org.apache.ranger:ranger:pom:2.1.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html

        Attachments

          Activity

            People

            • Assignee:
              abhayk Abhay Kulkarni
              Reporter:
              abhayk Abhay Kulkarni
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: