Use Flow files with Spring
Last updated: March 25, 2026
Liquibase Flow Files let you create portable, platform-independent Liquibase workflows that can run anywhere without modification. This includes Jenkins, GitHub actions, a developers desktop, or any other CI/CD support tool. Flow Files with full Spring Boot integration support for version 3+ added are available in Liquibase 5.1 and later.
Before you begin
Install Liquibase Secure 5.1
Install Spring or Spring Boot
Configure your liquibase.properties file
Create a Flow file
Procedure
Ensure your pom file is configured.
The example POM uses liquibase-secure-starter, which includes the core commercial features including Flow file support. If you also need policy checks, add liquibase-checks as a separate dependency. To include all available extensions (BigQuery, MongoDB, Databricks, Snowflake, Couchbase, AWS, Azure, and HashiCorp Vault), use liquibase-secure-starter-all instead.
Be sure to replace these items within your POM file so it works with your specific environment.
POM file item | Replacement |
|---|---|
| Replace with your organization |
| Replace with your project name |
| Replace with your version |
| Replace with your project name |
| Replace with your description |
| Replace with your Java version |
| Replace with your database |
| Replace with your driver |
| You may need to match your existing Spring Boot version |
Example POM file
Save your flow file in your Spring project
We recommend storing the file in the same location you would store your changelog.
Example:

Add this code to your Spring application.properties file.
Configure your application.properties file within Spring to recognize the Liquibase Flow file.
Configure your database connection
Ensure your liquibase.properties file contains your connection credentials that the Flow file will use.
Now that your project is configured, start the Spring Boot application using Maven
The application will compile and launch, making the Liquibase integration available.
mvn spring-boot:runResults
Spring can now use all Liquibase Flow file functionality.