This repository was archived by the owner on Mar 13, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 74
Exclude hibernate-ehcache #955
Merged
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8b1cc84
exclude hibernate-core dependency
jamesfredley 2ddbfff
add jboss-transaction-api dependency
jamesfredley 89ccb91
remove doc change from Grails 3
jamesfredley 85bf404
build: remove module dependency on `hibernate-ehcache`
matrei b00713a
build: explicitly exclude `hibernate-core` from `hibernate-ehcache`
matrei 285efe8
build: add `jboss-transaction-api` for `hibernate-ehcache`
matrei 56964cf
docs: update GORM in Spring Boot section
matrei eecb602
build: fix wrong dependency configuration
matrei File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,19 +21,6 @@ dependencies { | |
exclude group:'org.slf4j', module:'slf4j-api' | ||
} | ||
|
||
compileOnly "org.hibernate:hibernate-ehcache:$hibernateVersion", { | ||
exclude group:'commons-collections', module:'commons-collections' | ||
exclude group:'commons-logging', module:'commons-logging' | ||
exclude group:'com.h2database', module:'h2' | ||
exclude group:'net.sf.ehcache', module:'ehcache' | ||
exclude group:'net.sf.ehcache', module:'ehcache-core' | ||
exclude group:'org.hibernate', module:'hibernate-core' | ||
exclude group:'org.slf4j', module:'jcl-over-slf4j' | ||
exclude group:'org.slf4j', module:'slf4j-api' | ||
exclude group:'org.slf4j', module:'slf4j-log4j12' | ||
exclude group:'xml-apis', module:'xml-apis' | ||
} | ||
|
||
testImplementation "org.apache.groovy:groovy-test-junit5" | ||
testImplementation "org.apache.groovy:groovy-sql" | ||
testImplementation "org.apache.groovy:groovy-json" | ||
|
@@ -42,20 +29,17 @@ dependencies { | |
} | ||
testImplementation "com.h2database:h2" | ||
|
||
testImplementation "org.hibernate:hibernate-ehcache:$hibernateVersion" | ||
|
||
// groovy proxy fixes bytebuddy to be a bit smarter when it comes to groovy metaClass | ||
testImplementation "org.yakworks:hibernate-groovy-proxy:$yakworksHibernateGroovyProxyVersion", { | ||
exclude group: "org.codehaus.groovy", module: "groovy" | ||
} | ||
|
||
testImplementation "org.apache.tomcat:tomcat-jdbc" | ||
testRuntimeOnly "org.springframework:spring-aop" | ||
|
||
testRuntimeOnly "org.hibernate:hibernate-ehcache:$hibernateVersion" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add the following to document the right approach and avoid conflicts from the javax version?
|
||
testRuntimeOnly "org.slf4j:slf4j-simple" | ||
testRuntimeOnly "org.slf4j:jcl-over-slf4j" | ||
// The groovydoc task needs the Hibernate 4.x jars in the classpath | ||
documentation "org.hibernate:hibernate-core-jakarta:${hibernateVersion}" | ||
testRuntimeOnly "org.springframework:spring-aop" | ||
} | ||
|
||
test { | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ dependencies { | |
api "org.springframework.boot:spring-boot" | ||
api "org.springframework:spring-orm" | ||
api "org.hibernate:hibernate-core-jakarta:$hibernateVersion" | ||
api "org.hibernate:hibernate-ehcache:$hibernateVersion" | ||
api "org.grails:grails-datastore-web" | ||
api "org.grails:grails-datastore-gorm-support" | ||
api project(":grails-datastore-gorm-hibernate5"), { | ||
|
@@ -38,12 +37,15 @@ dependencies { | |
exclude group:'org.grails', module:'grails-core' | ||
exclude group:'javax.transaction', module:'jta' | ||
} | ||
testRuntimeOnly "org.yaml:snakeyaml" | ||
|
||
testImplementation "org.grails:grails-gorm-testing-support" | ||
|
||
testRuntimeOnly "com.h2database:h2" | ||
testRuntimeOnly "org.apache.tomcat:tomcat-jdbc" | ||
testRuntimeOnly "org.hibernate:hibernate-ehcache:$hibernateVersion" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add the following to document the right approach and avoid conflicts from the javax version?
|
||
testRuntimeOnly "org.springframework:spring-aop" | ||
testRuntimeOnly "org.springframework:spring-expression" | ||
testRuntimeOnly "org.yaml:snakeyaml" | ||
} | ||
|
||
groovydoc.classpath += configurations.documentation |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the following to document the right approach and avoid conflicts from the javax version?