You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/02/06 14:31:22 UTC

[GitHub] [beam] shehzaadn-vd edited a comment on pull request #13791: [BEAM-10961] Strict dependency checking for sdks/java/io/gcp

shehzaadn-vd edited a comment on pull request #13791:
URL: https://github.com/apache/beam/pull/13791#issuecomment-774484815


   @ibzib i've brought back the compile lines and paired them with permitUnusedDeclared. However, some of those permitUnusedDeclared lines seem to cause this error:
   
   ```
   Could not determine the dependencies of task ':sdks:java:io:google-cloud-platform:analyzeClassesDependencies'.
   > Could not resolve all dependencies for configuration ':sdks:java:io:google-cloud-platform:permitUnusedDeclared'.
      > Could not find io.grpc:grpc-alts:.
        Required by:
            project :sdks:java:io:google-cloud-platform
      > Could not find io.grpc:grpc-core:.
        Required by:
            project :sdks:java:io:google-cloud-platform
      > Could not find io.grpc:grpc-grpclb:.
        Required by:
            project :sdks:java:io:google-cloud-platform
      > Could not find io.grpc:grpc-netty-shaded:.
        Required by:
            project :sdks:java:io:google-cloud-platform
      > Could not find com.google.api.grpc:proto-google-cloud-bigquerystorage-v1beta1:.
        Required by:
            project :sdks:java:io:google-cloud-platform
      > Could not find com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:.
        Required by:
            project :sdks:java:io:google-cloud-platform
   ```
   
   
   My guess is permitUnusedDeclared doesn't play well with a library variable where the version is set by the BOM 
   e.g. permitUnusedDeclared library.java.proto_google_cloud_bigquery_storage_v1beta1
   
   Any pointers?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org