--overwrite-output-file

Last updated: May 1, 2026

Determines whether generate-changelog can overwrite an existing changelog. Default: false.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--overwrite-output-file=<true|false>

Liquibase properties file (defaults file)

liquibase.command.overwriteOutputFile: <true|false>

Command flow file argument (example)

cmdArgs: { overwrite-output-file: "<true|false>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.overwriteOutputFile=<true|false>

Liquibase environment variable

LIQUIBASE_COMMAND_OVERWRITE_OUTPUT_FILE=<true|false>