Could co.yixiang:yshop-mproot:2.3 drop off redundant dependencies? #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I found that co.yixiang:yshop-mproot:2.3’s pom file introduced 191 dependencies. However, among them, 17 libraries (9% have not been used by your project), the redundant dependencies are listed below.
More seriously, 2 redundant dependencies contain security vulnerabilities (vulnerable libraries).
9 redundant libraries have not been maintained by developers for more than 3 years(outdated dependencies).
Reduce these unused dependencies can help prevent introducing bugs/vulnerabilities from dependencies with security vulnerabilities and outdated. Meanwhile, it can minimize the project size. To safely remove redundant dependencies, I constructed a complete call graph (resolved most of Java reflection and dynamic binding), and validated that they have not been used by the client code.
This PR co.yixiang:yshop-mproot:2.3 for removing the redundant dependencies have passed the tests.
Best regards
Redundant dependencies
Redundant indirect dependencies:
Redundant direct dependencies inherited from parent pom:
Redundant indirect dependencies inherited from parent pom:
Vulnerable libraries
cn.hutool:hutool-core:5.7.16(CVE-2022-4565)
dom4j:dom4j:1.6.1(CVE-2020-10683)
Outdated dependencies
com.alibaba:QLExpress:3.2.0(1921 days without maintenance)
commons-lang:commons-lang:2.4(5499 days without maintenance)
javax.inject:javax.inject:1(4925 days without maintenance)
com.github.virtuald:curvesapi:1.06(1855 days without maintenance)
javax.xml.bind:jaxb-api:2.3.0(2078 days without maintenance)
eu.bitwalker:UserAgentUtils:1.21(1901 days without maintenance)
com.github.whvcse:easy-captcha:1.6.2(1321 days without maintenance)
org.jetbrains:annotations:13.0(3400 days without maintenance)
dom4j:dom4j:1.6.1(6267 days without maintenance)