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

fix:plugin org.liquibase.gradle Unexpected argument(s): --changelog-parameters #1313

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

JonsonCode
Copy link

Submit a pull request for this project.

Why?

我提交了这个 Pull Request 的目的是修复 Liquibase Gradle 插件在运行任务时出现的问题。之前的代码中存在一个错误的参数设置,导致无法成功运行任务。
错误信息如下:

Task :update FAILED
liquibase-plugin: Running the 'main' activity...
Unexpected argument(s): --changelog-parameters=[table.prefix:apitable_]

How?

使用 liquibase plugin的 jvmArgs 属性替换 changelogParameters

liquibase {
jvmArgs "-Dtable.prefix=${System.getenv("DATABASE_TABLE_PREFIX")}"
}

@CLAassistant
Copy link

CLAassistant commented Sep 14, 2023

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

None yet

2 participants