Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6536

Streams quickstart pom.xml is missing versions for a bunch of plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0.2, 1.0.0, 1.0.1
    • 0.11.0.3, 1.0.2, 1.1.0
    • streams

    Description

      There are a bunch of plugins being used that maven helpfully warns you about being unversioned:

      > [INFO] Scanning for projects...
      > [WARNING]
      > [WARNING] Some problems were encountered while building the effective model for org.apache.kafka:streams-quickstart-java:maven-archetype:1.0.1
      > [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ org.apache.kafka:streams-quickstart:1.0.1, /Users/ewencp/kafka.git/.release_work_dir/kafka/streams/quickstart/pom.xml, line 64, column 21
      > [WARNING] 'build.plugins.plugin.version' for com.github.siom79.japicmp:japicmp-maven-plugin is missing. @ org.apache.kafka:streams-quickstart:1.0.1, /Users/ewencp/kafka.git/.release_work_dir/kafka/streams/quickstart/pom.xml, line 74, column 21
      > [WARNING]
      > [WARNING] Some problems were encountered while building the effective model for org.apache.kafka:streams-quickstart:pom:1.0.1
      > [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-shade-plugin is missing. @ line 64, column 21
      > [WARNING] 'build.plugins.plugin.version' for com.github.siom79.japicmp:japicmp-maven-plugin is missing. @ line 74, 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.

      Unversioned dependencies are dangerous as they make the build non-reproducible. In fact, a released version may become very difficult to build as the user would have to track down the working versions of the plugins. This seems particularly bad for the quickstart as it's likely to be copy/pasted into people's own projects.

      Attachments

        Issue Links

          Activity

            People

              sawyna Yaswanth Kumar
              ewencp Ewen Cheslack-Postava
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified