Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3676034
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:03:03+00:00 2026-05-19T03:03:03+00:00

What is best practice to use and distribute 3rd party jars? Approach one: Keep

  • 0

What is best practice to use and distribute 3rd party jars?

Approach one:

  1. Keep these jars in lib folder with in the plugin (or outside)
  2. Add there reference in build path for compiler but exclude this jar from being embedded into plugin jar
  3. Distribute separately along with our plugins

Approach two:

  1. Turn jars into plugin?
  2. Add dependency
  3. Distribute as usual plugin

Approach three:

  1. Embed 3rd party jar in lib folder of plugin
  2. Export packages that are required by other plugins

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:03:04+00:00Added an answer on May 19, 2026 at 3:03 am

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it a best practice to use more than one xib in a view
What is the best practice to use these two methods for memory management? My
Now. I so confuse when use any classes. What is best practice approach to
whats the best practice to use these? var x = { a: 'a', eat:
What is the best practice to use when one needs to store a lambda
Is it a best practice to use stored procedure for every single SQL call
Would it be considered best practice to use a single template that changes it's
Best practice is to use unique ivs, but what is unique? Is it unique
I am looking for guidance regarding the best practice around the use of the
What is the common way (or best practice) to optionally use JNI? E.g. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.