Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mustang Library provided as an Uber-Jar #297

Closed
gb-klein opened this issue Nov 16, 2022 · 3 comments
Closed

Mustang Library provided as an Uber-Jar #297

gb-klein opened this issue Nov 16, 2022 · 3 comments

Comments

@gb-klein
Copy link

We are planning to use the mustang project as a library in our backend application and noticed that you are providing it in the form of an uber-jar (>30mb) shipping with all its transitive dependencies. One problem we are facing with that is that we use the latest slf4j version (2.x) which leads to conflicts with the version provided by mustang (although 2.x is backwards compatible with 1.x - but not vice-versa). Another issue is that we only need the importer part for now which seems to only require the org.apache.pdfbox dependencies. By building the project manually and taking only the slim jar (including pdfbox deps) we were able to get the importer part running while having a much smaller classpath footprint (~4mb opposed to >30mb).
We would like to understand:

  • What is the reason that you are providing the library as an uber-jar?
  • Is there a slim version on maven central?
@gb-klein
Copy link
Author

gb-klein commented Nov 16, 2022

ah - just now saw that there is already a PR: #274
Looking forward to see a minified version on maven central ;-)

@gb-klein gb-klein reopened this Nov 16, 2022
@jstaerk
Copy link
Collaborator

jstaerk commented Nov 16, 2022

had missed the answer to the PR, merged, lets try in in the next version

@jstaerk
Copy link
Collaborator

jstaerk commented Dec 29, 2022

merged in 2.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants