Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8654

[Java] beam_Dependency_Check's not getting correct report from Gradle dependencyUpdates

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Not applicable
    • build-system
    • None

    Description

      Cont. of https://issues.apache.org/jira/browse/BEAM-8621

      https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_Dependency_Check/234/consoleFull says

      18:20:07 > Task :dependencyUpdates
      ...
      18:23:12 The following dependencies are using the latest release version:
      ...
      18:23:12  - com.google.cloud.bigdataoss:util:1.9.16
      18:23:12  - com.google.cloud.bigtable:bigtable-client-core:1.8.0
      

      But they are not the latest release.

      Why does Gradle think they're the latest release?

      It seems that " -Drevision=release" flag plays some role here. Without the flag, Gradle reports these artifacts are not the latest.

      https://gist.github.com/suztomo/1460f2be48025c8ea764e86a2c6e39a8

      Even with the flag, it should report the following

      The following dependencies have later release versions:
       - com.google.cloud.bigtable:bigtable-client-core [1.8.0 -> 1.12.1]
           https://cloud.google.com/bigtable/
      

      https://gist.github.com/suztomo/13473e6b9765c0e96c22aeffab18ef66

      Attachments

        Issue Links

          Activity

            People

              suztomo Tomo Suzuki
              suztomo Tomo Suzuki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m