Provide Liquibase jar without packaged dependencies and pro packages
See original GitHub issueWe 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:
- Created 2 years ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top GitHub Comments
@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
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.