You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "César Soto Valero (Jira)" <ji...@apache.org> on 2019/12/03 09:33:00 UTC
[jira] [Created] (STORM-3550) Remove unused dependencies
César Soto Valero created STORM-3550:
----------------------------------------
Summary: Remove unused dependencies
Key: STORM-3550
URL: https://issues.apache.org/jira/browse/STORM-3550
Project: Apache Storm
Issue Type: Improvement
Components: storm-core
Reporter: César Soto Valero
There are some dependencies declared in *storm-core* that are not used. These dependencies should be removed to make the core library slimmer and its dependency tree less complex, which helps to maintain the project.
Unused dependencies with scope compile
* *joda-time:joda-time*
* *org.eclipse.jetty:jetty-util*
* *org.eclipse.jetty:jetty-servlet*
* *org.eclipse.jetty:jetty-servlets*
* *com.fasterxml.jackson.core:jackson-core*
* *com.fasterxml.jackson.dataformat:jackson-dataformat-smile*
* *commons-fileupload:commons-fileupload*
* *commons-codec:commons-codec*
Unused dependencies with scope test
* *org.hamcrest:java-hamcrest***
PS: For some of these dependencies, such as *jackson-core* and *commons:codec,* I noticed that the same version is declared and included transitively in the dependency tree. This is redundant and should be avoided. The following is an excerpt of the Maven dependency tree that illustrates this situation.
{code:java}
+- com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile
+- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.8:compile
| \- (com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile - omitted for duplicate)
{code}
{code:java}
+- commons-codec:commons-codec:jar:1.11:compile
+- org.apache.hadoop:hadoop-auth:jar:2.8.5:compile
| +- (commons-codec:commons-codec:jar:1.11:compile - omitted for duplicate)
. . .
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)