Comments (3)
I must confess that I've never used liquibase plugins...
What happens when you add classpath org.liquibase.ext:liquibase-hibernate5:3.6
to your buildscript
dependencies?
from liquibase-gradle-plugin.
Since my last comment, the way we handle the classpath when we run Liquibase has changed. Starting with version 2.0 of the plugin, you can useliquibaseRuntime
dependencies to add artifacts to the classpath when Liquibase runs, and this has been tested with projects that use the exact liquibase-hibernate dependency you are trying to use.
Does that solve your issue?
from liquibase-gradle-plugin.
Adding liquibaseRuntime 'org.liquibase.ext:liquibase-hibernate5:3.6'
works like charm. Before 2.0 using classpath
also worked fine. In fact, using liquibaseRuntime
seems to let you take full advantage of io.spring.gradle:dependency-management-plugin
I also had to add liquibaseRuntime sourceSets.main.output
to avoid this issue: liquibase/liquibase-hibernate#170
from liquibase-gradle-plugin.
Related Issues (20)
- With Gradle 7.6.2 and Java 17, Liquibase build throwing 'org.liquibase.gradle.LiquibaseTask' property 'command' is missing an input or output annotation HOT 5
- Is this project still active? HOT 2
- Is there a simple way to disable the plugin? HOT 2
- liquibase-gradle-plugin should declare picocli as a transitive dependency HOT 9
- Generate Changelog with defaultSchemaName not possible HOT 3
- Running Liquibase 4 with Gradle 8 causes error could not find method getMain() for arguments [] HOT 2
- spring boot v3 integration example HOT 5
- micronaut 4 liquibase plugin integration
- Liquibase --username argument should be placed after the command HOT 1
- Task "updateSQL" ignores "--outputFile" parameter HOT 3
- Upgrade to "org.apache.groovy:groovy" HOT 1
- Java 19
- Liquibase "diffChangelog" suddenly stops generating migration files HOT 2
- markNextChangesetRan not filtering by label HOT 1
- Snakeyaml error when running diffChangelog HOT 1
- Modify Liquibase Gradle Plugin to handle custom Liquibase extensions HOT 5
- Crashes with 2 errors when configuration cache is enabled
- How disable changelog xml file validation HOT 1
- Not supported by gradle version 8.* HOT 1
- 'classpath' parameter no longer seems to work HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquibase-gradle-plugin.