Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant dependencies #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Celebrate-future
Copy link

@junneyang Hi, I am a user of project com.xcompany.xproject:mr:1.0.0-RELEASE. I found that its pom file introduced 72 dependencies. However, among them, 12 libraries (16%) have not been used by your project (the redundant dependencies are listed below). Reduce these useless dependencies can help prevent conflicts between library versions. MeanWhile, it can minimize the total added size to projects. It can also help enable advanced scenarios for users of your package.
This PR helps com.xcompany.xproject:mr:1.0.0-RELEASE lose weight :) I have tested the revised configuration in my local environment. It is safe to remove the unused libraries.

Best regards

Redundant dependencies----


com.google.code.findbugs:jsr305:jar:3.0.0:compile
javax.servlet.jsp:jsp-api:jar:2.1:runtime
com.sun.jersey:jersey-core:jar:1.9:compile
org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:compile
xml-apis:xml-apis:jar:1.3.04:compile
org.apache.hadoop:hadoop-annotations:jar:2.7.4:compile
com.sun.jersey:jersey-client:jar:1.9:compile
org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:compile
javax.xml.bind:jaxb-api:jar:2.2.2:compile
javax.activation:activation:jar:1.1:compile
javax.xml.stream:stax-api:jar:1.0-2:compile
javax.servlet:servlet-api:jar:2.5:compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant