nutzam / nutzboot

NutzBoot,简称NB,是可靠的企业级微服务框架,提供自动配置,嵌入式web服务,分布式会话,服务治理,负载均衡,hystrix,RPC等一篮子解决方案
https://nutz.io
Apache License 2.0
498 stars 138 forks source link

Remove redundant dependencies #229

Open Celebrate-future opened 3 years ago

Celebrate-future commented 3 years ago

Hi, I am a user of project org.nutz:nutzboot-starter-seata:2.4.3-SNAPSHOT. I found that its pom file introduced 48 dependencies. However, among them, 16 libraries (33%) 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. Finally, it can help enable advanced scenarios for users of your package. This PR helps org.nutz:nutzboot-starter-seata:2.4.3-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----


com.google.protobuf:protobuf-java:jar:3.7.1:compile
io.seata:seata-serializer-seata:jar:1.2.0:compile
io.seata:seata-serializer-hessian:jar:1.2.0:compile
com.esotericsoftware:kryo:jar:4.0.2:compile
io.seata:seata-serializer-fst:jar:1.2.0:compile
de.ruedigermoeller:fst:jar:2.57:compile
io.seata:seata-serializer-all:jar:1.2.0:compile
io.seata:seata-serializer-protobuf:jar:1.2.0:compile
com.esotericsoftware:reflectasm:jar:1.11.3:compile
javax.servlet:javax.servlet-api:jar:3.1.0:compile
com.esotericsoftware:minlog:jar:1.3.0:compile
io.seata:seata-serializer-kryo:jar:1.2.0:compile
de.javakaffee:kryo-serializers:jar:0.42:compile
org.javassist:javassist:jar:3.24.0-GA:compile
com.caucho:hessian:jar:4.0.63:compile
org.objenesis:objenesis:jar:2.5.1:compile