taojintianxia opened a new issue, #23049:
URL: https://github.com/apache/shardingsphere/issues/23049

   currently the agent module use `maven shade plugin` as the solution for 
dependency conflict, however this makes a lot of dependency duplication in 
different plugin modules, followings are the plugins :
   
   
![image](https://user-images.githubusercontent.com/4112856/209263808-0a3da44b-8bdd-47a5-abb9-b39a57b84236.png)
   
   the shaded guava are duplicated in different plugin artifact:
   
![image](https://user-images.githubusercontent.com/4112856/209263906-3a6892b1-99c1-4415-aa76-2a86b043f802.png)
   
![image](https://user-images.githubusercontent.com/4112856/209263921-164cabe3-ba7f-4817-9488-843b76513547.png)
   
   to refactor the agent packaging, we need to refactor followings :
   - [ ] add new module `shade-dependency` and add all shaded depenency into 
this module.
   - [ ] every module invoke `shade-dependeny` when invoke the third-party 
dependency.
   - [ ] exclude the `shade-dependency` in different plugin module when 
packaging.
   - [ ] packing `shade-dependency` artifact into plugins folder of 
distribution artifact.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to