Uploaded image for project: 'HTrace'
  1. HTrace
  2. HTRACE-242

Explicitly specify the version of all Maven plugins to fix pom.xml WARNINGS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 4.0.1
    • build
    • None

    Description

      Our CI builds on Jekins highlight the following

      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.apache.htrace:htrace-webapp:war:4.0.0-incubating-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 31, column 15
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.apache.htrace:htrace-zipkin:jar:4.0.0-incubating-SNAPSHOT
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.slf4j:slf4j-api:jar -> version 1.7.7 vs ${slf4j.version} @ line 151, column 17
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.apache.htrace:htrace-htraced:jar:4.0.0-incubating-SNAPSHOT
      [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-assembly-plugin @ line 64, 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.
      [WARNING] 
      

      We should explicitly specify the version of all Maven plugins to fix these pom.xml WARNINGS.

      Attachments

        1. HTRACE-242.diff
          6 kB
          Lewis John McGibbney

        Activity

          People

            lewismc Lewis John McGibbney
            lewismc Lewis John McGibbney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: