-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
liquibase-core.jar contains ServiceLoader files #1051
Comments
Thanks for moving this over! We will be moving more of the existing Jira issues here into github, we are still just working on how best to do that. I'll try to ensure this get prioritized. |
as a temporary fix you can add the dependencies to your project
|
This issue also results in our system not being able to startup again. Following warning is logged in maven: We are forced to remain at version 3.8.0 until this is fixed. |
@robinvanpraet Exactly the same with me. When working with Java 11 modules, application is not able to start. We also have to stick with version 3.8.0 until this is fixed. |
Hello Team! Thanks @madorb for bringing in this issue, and @SteveDonie , @robinvanpraet , @wutzebaer and @Gondy for responding. This issue has been added to an upcoming sprint and look to have this fixed in Q2. -Ronak |
➤ Mario Champion commented: This ticket depends on a spike ticket to determine and document a proposal from @nvoxland on dealing with the licensing which underpins the use of Jackson. That spike has been set for 7.4, so hopefully this gets resolved in the sprint after that. |
We have a similar impact: one of our apps uses both Liquibase and logstash-logback-encoder to format application logs as JSON. Logstash encoder uses |
* Update dependencies * Force Liquibase version to 3.8.0 See liquibase/liquibase#1051 Co-authored-by: micronaut-build <micronaut-build@users.noreply.github.com> Co-authored-by: Iván López <lopezi@objectcomputing.com>
just got bit by this again (and, of course completely forgot that this was the root cause, so had to re-investigate). Really really would love to see this fixed. |
I've had to fix this several times across a few projects internally, and I've had to explain it to a bunch of people. This is really a fit and finish problem with the project - I love liquibase, I've used it heavily for nearly a decade now, but the fact that something that has been around this long and has such a dramatic effect hasn't been addressed is not a good sign. I really don't want to have to fork and internally publish a copy of the latest version with these files removed, and I suspect that I'm not the only one. |
err, guess i was signed into work when i made that last comment, but yeah, 100% agree with @dpratt this is a really frustrating issue to have kicking around for this long. incredibly painful and difficult to diagnose. I wouldn't want to hazard a guess to how many person-hours have been lost sussing this out, and how many folks just gave up on liquibase when adding it to their project caused everything to fail in weird silent ways. |
@dpratt and @madorb totally get the frustration being communicated, and I agree you are probably not alone in that. I too share that frustration, but we in the community team are working to:
We are working through it right now with @nvoxland, thanks for sticking with this issue and walking with us through this journey of enabling our community. |
What I would suggest is to align the OSS release of Liquibase with what is in this repository. To me it looks like you have a really complex release pipeline that merges your Pro features and the Community version into one single jar. If you want to keep using the same artifact for the pro and community maybe release a new one that would only contain the Community code and would be entirely build from this repo. Please let us know if you need some help with that. |
I think this could be fixed with a one-line addition to the MANIFEST.MF:
However, since having this attribute is good practice anyway to avoid future breakage during modularization, and it would probably fix this issue for most people in a downward compatible manner, I wanted to mention it here in case there isn't already a better solution in progress. |
➤ Erzsebet Carmean commented: Liquibase 3.10.1-LB-162-SNAPSHOT, # 2Verify build excludes service loader files. PASS Output from Successful Maven Build{CODE} Thank you, @ madorb for the test project. It was very helpful. --erz (@ XDelphiGrl) |
➤ Erzsebet Carmean commented: No UAT; moving to ready to merge. |
Awesome, glad to see this is getting resolved!!! I take no credit for the test project, i just moved the ticket over from Jira :-) |
Description
Moving this over from Jira (https://liquibase.jira.com/browse/CORE-3522) as it seems like it should be fixed soon.
Acceptance Criteria
┆Issue is synchronized with this Jira Bug by Unito
┆fixVersions: Liquibase 3.10.1
The text was updated successfully, but these errors were encountered: