How to link to a liquibase changelog file inside a jar?

Hi everyone, I’m quite new to liquibase. Currently, the organization that I’m in has a multi-module maven spring project. We’re planning to separate one module in that and use it as a jar dependency in the pom file. This module has all the liquibase change-log files that other modules in my project refer (through their own change-log files).

My question is, how should I refer the liquibase change-logs that are present inside the jar dependency? I’ve tried googling for hours but couldn’t find a proper solution. How can this be achieved?

Hi there! I see you also asked this in StackOverflow. Welcome to the community!

We created this example to explain how to deploy liquibase to multiple data sources using Springboot. You can check how the module and dependencies were created in the example database.