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

derby.log is created after upgrading 4.0.0 #269

Open
jdaugherty opened this issue Jan 23, 2022 · 2 comments
Open

derby.log is created after upgrading 4.0.0 #269

jdaugherty opened this issue Jan 23, 2022 · 2 comments

Comments

@jdaugherty
Copy link

jdaugherty commented Jan 23, 2022

Running bootRun or any database migraiton task now creates a derby.log file under the project root as of 4.0.0. This can be moved to a logs folder with System.setProperty('derby.stream.error.file', 'logs/derby-error.log'), but it seems like the derby dependency shouldn't be exposed by the plugin. The cause appears to be org.liquibase.ext:liquibase-hibernate5, which pulls in the dependency org.liquibase:liquibase-test-harness

@jdaugherty
Copy link
Author

Adding the below exclude in build.gradle:

 api "org.grails.plugins:database-migration:4.0.0", {
     exclude group: "org.liquibase", module: "liquibase-test-harness"
 }

Works around this issue in the mean time.

@rainboyan
Copy link
Contributor

I submit a PR here #275

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

No branches or pull requests

2 participants