You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Tomo Suzuki (Jira)" <ji...@apache.org> on 2019/11/13 21:02:00 UTC

[jira] [Commented] (BEAM-8654) [Java] beam_Dependency_Check's not getting outdated report from Gradle

    [ https://issues.apache.org/jira/browse/BEAM-8654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973689#comment-16973689 ] 

Tomo Suzuki commented on BEAM-8654:
-----------------------------------

[~yifanzou] Is the behavior (e.g., not showing 1.12.1 for bigtable-client-core) expected for you? If unexpected behavior, I will dig further; probably creating minimum reproducible project and report to https://github.com/ben-manes/gradle-versions-plugin 

> [Java] beam_Dependency_Check's not getting outdated report from Gradle
> ----------------------------------------------------------------------
>
>                 Key: BEAM-8654
>                 URL: https://issues.apache.org/jira/browse/BEAM-8654
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Tomo Suzuki
>            Priority: Major
>
> 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
> {noformat}
> 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
> {noformat}
> But they are not the latest release.
> * https://search.maven.org/artifact/com.google.cloud.bigdataoss/util/2.0.0/jar 
> * https://search.maven.org/artifact/com.google.cloud.bigtable/bigtable-client-core/1.12.1/jar
> 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
> {noformat}
> 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/
> {noformat}
> https://gist.github.com/suztomo/13473e6b9765c0e96c22aeffab18ef66



--
This message was sent by Atlassian Jira
(v8.3.4#803005)