question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide Liquibase jar without packaged dependencies and pro packages

See original GitHub issue

We at the open-source project flowable-engine are heavy users of Liquibase. We use it as a library. Lately we have noticed that the liquibase-core JAR is getting bigger and bigger.

  • 4.5.0 - 3.8 MB
  • 4.6.0 - 6.2 MB
  • 4.6.1 - 6.2 MB
  • 4.6.2 - 6.3 MB
  • 4.7.0 - 6.3 MB
  • 4.7.1 - 6.3 MB
  • 4.8.0 - 6.4 MB

We did a comparison between 4.5.0 and 4.8.0 and I saw the following dependencies packaged within:

  • JSQLParser
  • Apache Commons Collection4
  • Apache Commons Text
  • Apache Commons Lang3
  • OpenCSV Parser (Seems like this was already there)

We could only find imports from OpenCSV Parser in liquibase-core. The rest of the dependencies are not used, they are not even defined as dependencies in the pom.xml.

We understand that you are doing extra steps to include the classes needed for Liquibase Pro in liquibase-core. This is entirely OK and we understand what it means to have a business around an Open Source project.

We are big fans of Liquibase and we would like to ask you to consider releasing something that can be used as a library without the need for the pro classes and other dependencies. For example the current liquibase-core as it is in GitHub to be released as a new artifact. Perhaps liquibase-base and then the liquibase-core jar will have a dependency on liquibase-base and it will also contain the pro classes together with the other dependencies that you are using.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kataggartcommented, Jul 25, 2022

@filiphr you got to it first!!! I was so excited to come tell you about it! https://www.liquibase.com/blog/two-jars-beat-as-one

1reaction
filiphrcommented, Jul 25, 2022

Thanks a lot for doing this changes to your releases. It helps a lot in using Liquibase as a library in an another open source project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Liquibase with Spring Boot and Maven Project
Packaging : Jar; Java: 8, 11, or 16. Dependencies: Spring Data JPA and Liquibase Migration. The service lets you add your database driver ......
Read more >
Liquibase and JAR dependencies - Stack Overflow
I'm new to Liquibase but I've got it set up and it's working OK for me, but I've manually downloaded all dependent JAR...
Read more >
Starting version 4.4.0 we're not able to run liquibase
Weird is I was able to run liquibase on my local laptop but not in docker container. here are the libraries or dependencies...
Read more >
Spring Boot Reference Documentation
This section provides a brief overview of Spring Boot reference documentation. It serves as a map for the rest of ... Packaging your...
Read more >
Use Liquibase to Safely Evolve Your Database Schema
If we're using Spring Boot, there is no need to define a bean for Liquibase, but we still need to make sure we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found