You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/30 09:33:00 UTC

[jira] [Work logged] (CONFIGURATION-772) Exclude unused transitive dependencies

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

ASF GitHub Bot logged work on CONFIGURATION-772:
------------------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Nov/19 09:32
            Start Date: 30/Nov/19 09:32
    Worklog Time Spent: 10m 
      Work Description: cesarsotovalero commented on pull request #40: CONFIGURATION-772: Exclude unused transitive deps
URL: https://github.com/apache/commons-configuration/pull/40
 
 
   
 
----------------------------------------------------------------
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


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

            Worklog Id:     (was: 351505)
    Remaining Estimate: 0h
            Time Spent: 10m

> Exclude unused transitive dependencies
> --------------------------------------
>
>                 Key: CONFIGURATION-772
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-772
>             Project: Commons Configuration
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.6
>            Reporter: César Soto Valero
>            Priority: Minor
>              Labels: build, pull-request-available, security
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hello. I noticed that *{{poi-ooxml}}* and *{{postgresql}}*, which are transitive dependencies induced via *{{dbunit}}*, are actually not used.
> Looking at the Maven dependency tree of the project, we can see that these dependencies may create conflicts:
> {code:java}
> .  .  .
>  |  +- org.apache.poi:poi-ooxml:jar:3.17:test
>  |  |  +- org.apache.poi:poi:jar:3.17:test
>  |  |  |  +- (commons-codec:commons-codec:jar:1.10:test - omitted for conflict with 1.13)
>  |  |  |  \- org.apache.commons:commons-collections4:jar:4.1:test
>  |  |  +- org.apache.poi:poi-ooxml-schemas:jar:3.17:test
>  |  |  |  \- org.apache.xmlbeans:xmlbeans:jar:2.6.0:test
>  |  |  |     \- stax:stax-api:jar:1.0.1:test
>  |  |  \- com.github.virtuald:curvesapi:jar:1.04:test
>  |  \- postgresql:postgresql:jar:8.4-701.jdbc3:test
> .  .  .{code}
> Hence, It is a good practice to exclude these dependencies from the {{pom to avoid conflicts, to make the library smaller and the dependency tree clearer.}}
>  



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