apache / servicecomb-pack

Apache ServiceComb Pack is an eventually data consistency solution for micro-service applications. ServiceComb Pack currently provides TCC and Saga distributed transaction co-ordination solutions by using Alpha as a transaction coordinator and Omega as an transaction agent .
https://servicecomb.apache.org/
Apache License 2.0
1.93k stars 435 forks source link

Could org.apache.servicecomb.pack:persistence-jpa:0.7.0-SNAPSHOT drop off redundant dependencies to loose weight? #722

Open Celebrate-future opened 3 years ago

Celebrate-future commented 3 years ago

@coolbeevip Hi, I am a user of project org.apache.servicecomb.pack:persistence-jpa:0.7.0-SNAPSHOT. I found that its pom file introduced 37 dependencies. However, among them, 7 libraries (18%) 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 this project. This PR helps org.apache.servicecomb.pack:persistence-jpa:0.7.0-SNAPSHOT lose weight :) I have tested the revised configuration in my local environment. It is safe to remove the unused libraries.

Best regards