Liquibase does not read System property -Dliquibase.shouldRun=false

We use following Java code to run Liquibase update.
conn = ds.getConnection();
Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(conn));
Liquibase liquibase = new liquibase.Liquibase(“liquibase-ChangeLog-V1.0.xml”, new ClassLoaderResourceAccessor(), database);
liquibase.update(new Contexts(), new LabelExpression());

This above code works fine but we can’t stop liquibase from being executed if we provide -Dliquibase.shouldRun=false when starting our payara JVM .
Is this the indented behavior ?

Hi @pvlocal,

You can set this property as JAVA_OPTS.
Eg, export JAVA_OPTS=-Dliquibase.should.run=false