"mvn liquibase:futureRollbackSQL" asks for tag, count or date

Description

I want to generate update and rollback scripts from Maven build so I added the following plugin executions:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <plugin> <groupId>org.liquibase</groupId> <artifactId>liquibase-maven-plugin</artifactId> <version>3.2.2</version> <configuration> <propertyFile>src/main/resources/liquibase.properties</propertyFile> <changeLogFile>src/main/sql/changelog.xml</changeLogFile> <defaultSchemaName>MYDB</defaultSchemaName> </configuration> <executions> <execution> <phase>process-resources</phase> <goals> <goal>updateSQL</goal> <goal>futureRollbackSQL</goal> </goals> </execution> </executions> </plugin>

The "updateSQL" works fine but "futureRollbackSQL" fails with the following message:

[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.2.2:futureRollbackSQL (default-cli) on project my-project: One of the rollback options must be specified, please specify one of rollbackTag, rollbackCount or rollbackDate -> [Help 1]

I think it's a bug as documentation on page "http://www.liquibase.org/documentation/rollback.html#generating-a-future-rollback-script" states that "You do not need to specify a rollback date, tag, or count in this mode.".

"mvn liquibase:rollbackSQL" with a date, tag or count works as expected.

Environment

Windows, Sybase (jTds)

Status

Assignee

Unassigned

Reporter

Laurent Maestracci

Labels

None

Components

Fix versions

Affects versions

3.2.2

Priority

Major