wso2 / msf4j

WSO2 Microservices Framework for Java (MSF4J)
http://wso2.com/products/microservices-framework-for-java/
Apache License 2.0
401 stars 349 forks source link

Could org.wso2.msf4j:sso-agent-sample-webapp:2.8.4-SNAPSHOT drop off redundant dependencies to loose weight? #582

Open Celebrate-future opened 3 years ago

Celebrate-future commented 3 years ago

@lasanthaS Hi, I am a user of project org.wso2.msf4j:sso-agent-sample-webapp:2.8.4-SNAPSHOT. I found that its pom file introduced 46 dependencies. However, among them, 9 libraries (19%) 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 org.wso2.msf4j:sso-agent-sample-webapp:2.8.4-SNAPSHOT lose weight :) I have tested the revised configuration in my local environment. It is safe to remove the unused libraries.

Best regards

Redundant dependencies----


net.jcip:jcip-annotations:jar:1.0:compile
org.json:json:jar:20131018:compile
org.apache.oltu.oauth2:org.apache.oltu.oauth2.common:jar:1.0.0:compile
org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
javax.servlet:javax.servlet-api:jar:3.1.0:compile
xml-apis:xml-apis:jar:1.3.04:compile
org.slf4j:jul-to-slf4j:jar:1.6.1:compile
org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile
org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:jar:1.0.0:compile

Outdated dependencies

net.jcip:jcip-annotations:1.0 (5463 days without maintenance) javax.servlet:javax.servlet-api:3.1.0 (3747 days without maintenance) org.apache.geronimo.specs:geronimo-activation_1.1_spec:1.0.2 (5652 days without maintenance) xml-apis:xml-apis:1.3.04 (6064 days without maintenance)