Could com.wdbyte.core-java-modules:core-java-io:1.0.0-SNAPSHOT drop off redundant dependencies?#1
Merged
niumoo merged 1 commit intoniumoo:masterfrom Apr 20, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This figure presents the dependency tree between multiple modules in core-java-modules. As shown in this figure, Libraries
com.google.code.findbugs:jsr305:jar:3.0.2:compile
com.google.guava:guava:jar:31.0.1-jre:compile
com.google.guava:failureaccess:jar:1.0.1:compile
com.google.errorprone:error_prone_annotations:jar:2.7.1:compile
com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
org.checkerframework:checker-qual:jar:3.12.0:compile
com.google.j2objc:j2objc-annotations:jar:1.3:compile
Outdated dependencies
com.google.j2objc:j2objc-annotations:1.3 (2382 days without maintenance)
com.google.guava:failureaccess:1.0.1 (1712 days without maintenance)
in module core-java-performance, core-java-8, core-java-9, core-java-performance-code, core-java-io, core-java-string is inherited from their parent module. However, it is not used by module core-java-io. We can perform refactoring operations in the pom, by removing such redundant dependencies in module core-java-io.
Specifically, the scope of com.google.guava:guava in core-java-io can be changed from compile to provided. The revisions in the pom are described as follows:
