Could org.openapitools:cxf-annotated-basepath:war:1.0.0 drop off redundant dependencies? #15161
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 org.openapitools:cxf-annotated-basepath:war:1.0.0’s pom file introduced 68 dependencies. However, among them, 20 libraries (29% have not been used by your project), the redundant dependencies are listed below.
More seriously,19 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 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 org.openapitools:cxf-annotated-basepath:war:1.0.0 for removing the redundant dependencies have passed the tests.
Best regards
Redundant dependencies
Redundant direct dependencies:
Redundant indirect dependencies:
Outdated dependencies
javax.annotation:javax.annotation-api:1.3 (2389 days without maintenance)
com.sun.xml.dtd-parser:dtd-parser:1.4.1 (1563 days without maintenance)
jakarta.activation:jakarta.activation-api:1.2.2(1600 days without maintenance)
com.sun.xml.fastinfoset:FastInfoset:1.2.16 (1564 days without maintenance)
org.ow2.asm:asm:7.0 (1625 days without maintenance)
org.glassfish.jaxb:txw2:2.3.2 (1558 days without maintenance)
com.google.errorprone:error_prone_annotations:2.2.0 (1916 days without maintenance)
javax.ws.rs:jsr311-api:1.1.1 (4884 days without maintenance)
org.jvnet.staxex:stax-ex:1.8.1 (1564 days without maintenance)
org.apache.ant:ant-launcher:1.10.5 (1734 days without maintenance)
com.google.j2objc:j2objc-annotations:1.1 (2271 days without maintenance)
org.checkerframework:checker-compat-qual:2.5.2 (1772 days without maintenance)
jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 (1564 days without maintenance)
com.google.code.findbugs:jsr305:3.0.2 (2200 days without maintenance)
org.apache.ant: ant:1.10.5 (1734 days without maintenance)
com.sun.xml.bind.external:relaxng-datatype:2.3.2 (1564 days without maintenance)
com.sun.xml.bind.external:rngom:2.3.2 (1564 days without maintenance)
org.glassfish.jaxb:xsom:2.3.2 (1564 days without maintenance)
com.sun.istack:istack-commons-runtime:3.0.8 (1564 days without maintenance)