You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Sonam Ramchand (Jira)" <ji...@apache.org> on 2020/12/04 05:26:00 UTC
[jira] [Commented] (BEAM-10961) Enable strict dependency analysis
on all Java modules
[ https://issues.apache.org/jira/browse/BEAM-10961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17243724#comment-17243724 ]
Sonam Ramchand commented on BEAM-10961:
---------------------------------------
[~mxm], The purpose of this functionality was to remove all the unused dependencies and add required dependencies that were missing. We dont need any design docs for this.
> Enable strict dependency analysis on all Java modules
> ------------------------------------------------------
>
> Key: BEAM-10961
> URL: https://issues.apache.org/jira/browse/BEAM-10961
> Project: Beam
> Issue Type: Improvement
> Components: java-fn-execution
> Reporter: Shehzaad Nakhoda
> Assignee: Shehzaad Nakhoda
> Priority: P2
> Time Spent: 8h 10m
> Remaining Estimate: 0h
>
> This is an IWYU analysis. If the module is using its transitive deps without depending on them, or if it has direct dependencies it doesn't use, the build fails. The work involves adding dependencies or adding exclusion rules (example: https://github.com/wfhartford/gradle-dependency-analyze#configurations). Even if they just add exclusions across the board, it will be a big win because it will prevent new violations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)