[
https://issues.apache.org/jira/browse/BEAM-11823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Weaver updated BEAM-11823:
-------------------------------
Fix Version/s: Not applicable
Resolution: Workaround
Status: Resolved (was: Triage Needed)
> permitUnusedDeclared doesn't work with bom libraries.
> ------------------------------------------------------
>
> Key: BEAM-11823
> URL: https://issues.apache.org/jira/browse/BEAM-11823
> Project: Beam
> Issue Type: Bug
> Components: build-system
> Reporter: Kyle Weaver
> Priority: P2
> Fix For: Not applicable
>
>
> permitUnusedDeclared does not work with any libraries that derive their
> versions from the GCP bom. The only way to get the dependency checker working
> for these libraries is to hardcode their version numbers, which defeats the
> purpose of using the bom in the first place.
> e.g. "permitUnusedDeclared library.java.proto_google_common_protos" results
> in this error:
> * What went wrong:
> Could not determine the dependencies of task
> ':sdks:java:extensions:sql:zetasql:analyzeClassesDependencies'.
> > Could not resolve all dependencies for configuration
> > ':sdks:java:extensions:sql:zetasql:permitUnusedDeclared'.
> > Could not find com.google.api.grpc:grpc-google-common-protos:.
> Required by:
> project :sdks:java:extensions:sql:zetasql
--
This message was sent by Atlassian Jira
(v8.3.4#803005)