[ 
https://issues.apache.org/jira/browse/BEAM-10961?focusedWorklogId=545001&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-545001
 ]

ASF GitHub Bot logged work on BEAM-10961:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Feb/21 01:25
            Start Date: 01/Feb/21 01:25
    Worklog Time Spent: 10m 
      Work Description: shehzaadn-vd commented on a change in pull request 
#13688:
URL: https://github.com/apache/beam/pull/13688#discussion_r562808370



##########
File path: sdks/java/io/amazon-web-services2/build.gradle
##########
@@ -42,23 +43,26 @@ dependencies {
   compile library.java.jackson_core
   compile library.java.jackson_annotations
   compile library.java.jackson_databind
-  compile library.java.jackson_dataformat_cbor
   compile library.java.joda_time
   compile library.java.slf4j_api
   compile "software.amazon.kinesis:amazon-kinesis-client:2.2.5"
   compile "commons-lang:commons-lang:2.6"
+  compile "org.apache.commons:commons-lang3:3.9"

Review comment:
       > Why are there two `commons-lang` dependencies?
   
   In 
sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/kinesis/KinesisRecord.java,
 we are explicitly using both commons.lang and commons.lang3
   
   <snippet>
   import static 
**org.apache.commons.lang3.**builder.HashCodeBuilder.reflectionHashCode;
   
   import java.nio.ByteBuffer;
   import java.nio.charset.StandardCharsets;
   import **org.apache.commons.lang.**builder.EqualsBuilder;
   import **org.apache.commons.lang.**builder.ToStringBuilder;
   </snippet>




----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 545001)
    Time Spent: 101h 50m  (was: 101h 40m)

> 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: 101h 50m
>  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)

Reply via email to