Add a bundle module to bundle our client.#67
Add a bundle module to bundle our client.#67wang-x-xia wants to merge 5 commits intoEMCECS:masterfrom
Conversation
|
I mentioned this to @xiaoxin-ren, but I'll post it here for posterity - I strongly recommend against publishing any kind of shaded jar. IMO, that time is better spent writing a new |
@twincitiesguy The reason to publish a shaded jar is because of a business requirement between ECS and the opensource community. Considering the time to refactor smart-client with Jersey 2 would be quite long, we decided to use this short-term workaround in recent releases. Once moving to Jersey 2, we can follow the normal procedure and the shaded jar will be no longer needed. |
2. Simplify publish setup in bundle module.
In my opinion, the shaded jar can simplify the dependency management for client libraries in the big data platforms. Such as https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-bundle. The packaged HTTP client and JSON libraries shouldn't open to users. |
I'm using this SDK for the Iceberg catalog.
But the Iceberg excludes Jersey 1 used in our SDK.
And I think bundle HTTP client and Jackson libraries is a good way to make our client portable.
So: