Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquibase Maven Plugin throws an error with a diff goal requiring a changelogFile referenced #1586

Closed
szandany opened this issue Dec 11, 2020 · 1 comment

Comments

@szandany
Copy link
Contributor

szandany commented Dec 11, 2020

Environment

Liquibase Integration & Version: liquibase-maven-plugin - 4.1.1

Liquibase Extension(s) & Version: Any

Database Vendor & Version: Any

Operating System Type & Version: Windows or Linux.

Description

When running Liquibase diff goal, without including a changeLogFile, Liquibase will throw an error asking to reference a changelog with the changeLogFile property. This is not an issue with CLI.

Steps To Reproduce

Run the diff goal without referencing a changeLogFile:
For example:
mvn liquibase:diff

Actual Behavior

This will produce the following error:
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:4.1.1:diff (default-cli) on project liquibase-project: The changeLogFile must be specified. -> [Help 1]

Expected/Desired Behavior

The diff goal should run successfully just like the CLI diff command.

@FBurguer
Copy link

Looks like this issue has been solved for the latest version of liquibase-maven-plugin. If the issue continues to happen to you, please re-open the issue and we will have a second look! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants