HHH-8700 - Update ORM modules using JPA metamodel generator to use the new module
This commit is contained in:
parent
da6ee1e5bc
commit
67d8a53887
|
@ -101,9 +101,6 @@ subprojects { subProject ->
|
||||||
jbossLoggingTool {
|
jbossLoggingTool {
|
||||||
description = "Dependencies for running the JBoss logging AnnotationProcessor tool"
|
description = "Dependencies for running the JBoss logging AnnotationProcessor tool"
|
||||||
}
|
}
|
||||||
hibernateJpaModelGenTool {
|
|
||||||
description = "Dependencies for running the Hibernate JPA Metamodel Generator AnnotationProcessor tool"
|
|
||||||
}
|
|
||||||
jaxb {
|
jaxb {
|
||||||
description = 'Dependencies for running ant xjc (jaxb class generation)'
|
description = 'Dependencies for running ant xjc (jaxb class generation)'
|
||||||
}
|
}
|
||||||
|
@ -130,8 +127,6 @@ subprojects { subProject ->
|
||||||
|
|
||||||
jbossLoggingTool( libraries.logging_processor )
|
jbossLoggingTool( libraries.logging_processor )
|
||||||
|
|
||||||
hibernateJpaModelGenTool( libraries.jpa_modelgen )
|
|
||||||
|
|
||||||
jaxb( libraries.jaxb ){
|
jaxb( libraries.jaxb ){
|
||||||
exclude group: "javax.xml.stream"
|
exclude group: "javax.xml.stream"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,12 @@ import org.apache.tools.ant.filters.ReplaceTokens
|
||||||
|
|
||||||
apply plugin: 'hibernate-matrix-testing'
|
apply plugin: 'hibernate-matrix-testing'
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
hibernateJpaModelGenTool {
|
||||||
|
description = "Dependencies for running the Hibernate JPA Metamodel Generator AnnotationProcessor tool"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile( project(':hibernate-core') )
|
compile( project(':hibernate-core') )
|
||||||
compile( libraries.dom4j )
|
compile( libraries.dom4j )
|
||||||
|
@ -25,6 +31,8 @@ dependencies {
|
||||||
|
|
||||||
// for testing stored procedure support
|
// for testing stored procedure support
|
||||||
testCompile( libraries.derby )
|
testCompile( libraries.derby )
|
||||||
|
|
||||||
|
hibernateJpaModelGenTool( project( ':hibernate-jpamodelgen' ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
def pomName() {
|
def pomName() {
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
apply plugin: 'hibernate-matrix-testing'
|
apply plugin: 'hibernate-matrix-testing'
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
hibernateJpaModelGenTool {
|
||||||
|
description = "Dependencies for running the Hibernate JPA Metamodel Generator AnnotationProcessor tool"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile( project( ':hibernate-core' ) )
|
compile( project( ':hibernate-core' ) )
|
||||||
compile( project( ':hibernate-entitymanager' ) )
|
compile( project( ':hibernate-entitymanager' ) )
|
||||||
|
@ -8,6 +14,8 @@ dependencies {
|
||||||
testCompile( project(':hibernate-testing') )
|
testCompile( project(':hibernate-testing') )
|
||||||
testCompile( project(path: ':hibernate-entitymanager', configuration: 'tests') )
|
testCompile( project(path: ':hibernate-entitymanager', configuration: 'tests') )
|
||||||
testRuntime( libraries.javassist )
|
testRuntime( libraries.javassist )
|
||||||
|
|
||||||
|
hibernateJpaModelGenTool( project( ':hibernate-jpamodelgen' ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
def pomName() {
|
def pomName() {
|
||||||
|
|
|
@ -87,7 +87,6 @@ ext {
|
||||||
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
|
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
|
||||||
byteman_install: "org.jboss.byteman:byteman-install:${bytemanVersion}",
|
byteman_install: "org.jboss.byteman:byteman-install:${bytemanVersion}",
|
||||||
byteman_bmunit: "org.jboss.byteman:byteman-bmunit:${bytemanVersion}",
|
byteman_bmunit: "org.jboss.byteman:byteman-bmunit:${bytemanVersion}",
|
||||||
jpa_modelgen: 'org.hibernate:hibernate-jpamodelgen:1.1.1.Final',
|
|
||||||
shrinkwrap_api: 'org.jboss.shrinkwrap:shrinkwrap-api:1.0.0-beta-6',
|
shrinkwrap_api: 'org.jboss.shrinkwrap:shrinkwrap-api:1.0.0-beta-6',
|
||||||
shrinkwrap: 'org.jboss.shrinkwrap:shrinkwrap-impl-base:1.0.0-beta-6',
|
shrinkwrap: 'org.jboss.shrinkwrap:shrinkwrap-impl-base:1.0.0-beta-6',
|
||||||
validator: 'org.hibernate:hibernate-validator:5.0.1.Final',
|
validator: 'org.hibernate:hibernate-validator:5.0.1.Final',
|
||||||
|
|
Loading…
Reference in New Issue