[JIRA] (JENKINS-60325) Remove unused dependencies

2 views
Skip to first unread message

cesarsotovalero@gmail.com (JIRA)

unread,
Nov 28, 2019, 6:57:03 PM11/28/19
to jenkinsc...@googlegroups.com
César Soto Valero created an issue
 
Jenkins / Improvement JENKINS-60325
Remove unused dependencies
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: cli, core
Created: 2019-11-28 23:56
Priority: Minor Minor
Reporter: César Soto Valero

Hello, I noticed that the dependency org.jvnet.hudson:jtidy is declared in module core. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of jdom from org.jvnet.hudson:jtidy in commit https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc , if we look at the dependency tree, we can notice that jdom is not a dependency of org.jvnet.hudson:jtidy.

On the other hand, the transitive dependencies org.jenkins-ci:constant-pool-scanner and net.i2p.crypto:eddsa are not used in core and therefore they can be excluded from org.jenkins-ci.main:remoting and org.jenkins-ci.main:cli, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

In addition, the dependency commons-codec is declared in module cli and it is also unused.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages