What is best practice to use and distribute 3rd party jars?
Approach one:
Approach two:
Approach three:
Would 2nd approach save these libs from causing conflict with different versions of same libs, possibly installed by other plugins? because jar converted plugin would remain invisible for the plugins that do not have dependency on it. Am I correct?
This type of questions have been discussed a lot but I could not find some satisfactory answer. I will appreciate if somebody posts a such link
I prefer to approach two and three.
Eclipse projects always use solution two, packaging the third party libraries as separated bundles, such as ant, junit 3.x, junit 4.x and so on.
If your project is big and hope most flexible, I suggest you using approach two.
Approach three is more easy and fast for small project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With