Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-2134

Duplicate versions of dependencies in pom.xml

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Low Low
    • None
    • None
    • None

      The maven warnings are of this form:

      Some problems were encountered while building the effective model for org.onap.aai.aai-common:aai-schema-ingest:jar:1.4.1-SNAPSHOT
      'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.code.gson:gson:jar -> duplicate declaration of version 2.8.5 @ line 157, column 21
      'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.code.gson:gson:jar -> duplicate declaration of version 2.8.5 @ line 163, column 21
      It is highly recommended to fix these problems because they threaten the stability of your build.
      
      For this reason, future Maven versions might no longer support building such malformed projects.
      

      and

      Some problems were encountered while building the effective model for org.onap.aai.aai-common:aai-core:jar:1.4.1-SNAPSHOT
      'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.fasterxml.jackson.core:jackson-annotations:jar -> version ${jackson.version} vs 2.8.11 @ line 1074, column 21
      It is highly recommended to fix these problems because they threaten the stability of your build.
      
      For this reason, future Maven versions might no longer support building such malformed projects.
      

        There are no Sub-Tasks for this issue.

            jimmydot jimmydot
            keong keong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: