Install the Liquibase Pro Azure Extension
Liquibase can connect to Azure blob storage using the Liquibase Azure extension to store files and execute them remotely. Extending Liquibase to use remote file locations enables secure, centralized management of critical resources. These resources include changelogs, snapshots, SQL files, liquibase.properties, native executor configuration files, checks settings, and Flow files. Accessing files from a shared remote location allows you to build a reusable repository of Liquibase assets and eliminates the need for developers to maintain local copies, helping ensure consistency and accuracy across teams.
Requirements
- Liquibase 4.32.0+
- Liquibase Pro license. See How to Apply Your Liquibase Pro License Key
- Azure storage account
Installation
CLI
- Navigate to the Liquibase Azure extension on Maven Central.
- Download
liquibase-
and move it to theazure
-<version>.jar$LIQUIBASE_HOME/lib
directory
Tip: $LIQUIBASE_HOME is an environment variable that points to the location of the directory where Liquibase is installed on your machine. You can set environment variables using your operating system's shell. The location of $LIQUIBASE_HOME will depend on where Liquibase was installed on your machine.
Maven Users
To use Liquibase with Maven, you must include the driver JAR(s) as a dependency in your pom.xml file. Using this information, Maven automatically downloads the driver JAR from Maven Central when you build your project.
1. Add the Liquibase Azure extension dependency in your pom.xml
file to download the JAR:
<dependency>
<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-azure-extension</artifactId>
<version>1.0.0</version>
</dependency>