From 3b5f9b4b8a42937d0951455d7d6fa029f285775e Mon Sep 17 00:00:00 2001 From: Jan-Willem Gmelig Meyling Date: Mon, 6 Aug 2018 11:54:50 +0200 Subject: [PATCH] [#612] Relocation artifact for Hibernate 5.4 integration --- .travis.yml | 33 +++++ core/testsuite/pom.xml | 134 ++++++++++++++++++ dist/bom/pom.xml | 6 + dist/full/pom.xml | 4 + entity-view/testsuite/pom.xml | 105 ++++++++++++++ integration/deltaspike-data/testsuite/pom.xml | 106 ++++++++++++++ integration/hibernate-5.4/pom.xml | 39 +++++ integration/pom.xml | 1 + integration/spring-data/testsuite/pom.xml | 106 ++++++++++++++ jpa-criteria/testsuite/pom.xml | 105 ++++++++++++++ parent/pom.xml | 6 + pom.xml | 7 + 12 files changed, 652 insertions(+) create mode 100644 integration/hibernate-5.4/pom.xml diff --git a/.travis.yml b/.travis.yml index 2040bfb88b..eaaa3da2e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -191,6 +191,39 @@ matrix: # - env: JPAPROVIDER=hibernate-5.3 RDBMS=firebird # jdk: oraclejdk8 # sudo: true +################################################ +# hibernate-5.4 +################################################ + - env: JPAPROVIDER=hibernate-5.4 RDBMS=h2 + jdk: oraclejdk8 + - env: JPAPROVIDER=hibernate-5.4 RDBMS=mysql + jdk: oraclejdk8 + dist: trusty + sudo: required + - env: JPAPROVIDER=hibernate-5.4 RDBMS=postgresql + jdk: oraclejdk8 + addons: + postgresql: "9.3" + - env: JPAPROVIDER=hibernate-5.4 RDBMS=mssql + jdk: oraclejdk8 + sudo: true + services: + - docker + - env: JPAPROVIDER=hibernate-5.4 RDBMS=db2 + jdk: oraclejdk8 + sudo: true + services: + - docker + - env: JPAPROVIDER=hibernate-5.4 RDBMS=oracle + jdk: oraclejdk8 + sudo: true + services: + - docker +# - env: JPAPROVIDER=hibernate-5.3 RDBMS=sqlite +# jdk: oraclejdk8 +# - env: JPAPROVIDER=hibernate-5.3 RDBMS=firebird +# jdk: oraclejdk8 +# sudo: true ################################################ # datanucleus-5.1 diff --git a/core/testsuite/pom.xml b/core/testsuite/pom.xml index adc62abcf5..a8aedff99d 100644 --- a/core/testsuite/pom.xml +++ b/core/testsuite/pom.xml @@ -1392,6 +1392,140 @@ + + hibernate-5.4 + + com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate,com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate52 + src/main/hibernate + + + + org.hibernate + hibernate-entitymanager + ${version.hibernate-5.4} + + + org.hibernate + hibernate-envers + ${version.hibernate-5.4} + + + org.hibernate + hibernate-testing + ${version.hibernate-5.4} + + + com.vladmihalcea + hibernate-types-52 + ${version.hibernate-types} + + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + test + + + ${project.groupId} + blaze-persistence-testsuite-base-hibernate + compile + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + provided + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${additional.source.directory} + ${project.build.directory}/generated-sources/metamodel + + + + + add-test-source-hibernate + generate-test-sources + + add-test-source + + + + src/test/hibernate + + + + + + + org.bsc.maven + maven-processor-plugin + + + process + + process + + generate-sources + + + ${project.build.directory}/generated-sources/metamodel + + org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor + + + + + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + + + javax.xml.bind + jaxb-api + ${version.jaxb} + + + com.sun.xml.bind + jaxb-core + ${version.jaxb} + + + com.sun.xml.bind + jaxb-impl + ${version.jaxb} + + + javax.transaction + javax.transaction-api + ${version.jta} + + + javax.activation + activation + ${version.activation} + + + + + + hibernate-6.0 diff --git a/dist/bom/pom.xml b/dist/bom/pom.xml index 8d2ecbe8ab..826be495d6 100644 --- a/dist/bom/pom.xml +++ b/dist/bom/pom.xml @@ -137,6 +137,12 @@ ${project.version} runtime + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + ${project.version} + runtime + ${project.groupId} blaze-persistence-integration-hibernate-6.0 diff --git a/dist/full/pom.xml b/dist/full/pom.xml index c0e3eed715..3e034dfc28 100644 --- a/dist/full/pom.xml +++ b/dist/full/pom.xml @@ -101,6 +101,10 @@ ${project.groupId} blaze-persistence-integration-hibernate-5.3 + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + ${project.groupId} blaze-persistence-integration-hibernate-6.0 diff --git a/entity-view/testsuite/pom.xml b/entity-view/testsuite/pom.xml index 10cbb1cc72..d5d6057a89 100644 --- a/entity-view/testsuite/pom.xml +++ b/entity-view/testsuite/pom.xml @@ -1076,6 +1076,111 @@ + + hibernate-5.4 + + com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate,com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate52 + + + + org.hibernate + hibernate-entitymanager + ${version.hibernate-5.4} + + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + test + + + ${project.groupId} + blaze-persistence-testsuite-base-hibernate + test + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + provided + + + + + + org.bsc.maven + maven-processor-plugin + + + process-test + + process + + generate-test-sources + + + ${project.build.directory}/test-metamodel + + org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor + + + + + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + + + javax.xml.bind + jaxb-api + ${version.jaxb} + + + com.sun.xml.bind + jaxb-core + ${version.jaxb} + + + com.sun.xml.bind + jaxb-impl + ${version.jaxb} + + + javax.transaction + javax.transaction-api + ${version.jta} + + + javax.activation + activation + ${version.activation} + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-test-source-metamodel + generate-test-sources + + add-test-source + + + + ${project.build.directory}/test-metamodel + + + + + + + + hibernate-6.0 diff --git a/integration/deltaspike-data/testsuite/pom.xml b/integration/deltaspike-data/testsuite/pom.xml index ea57271708..a521dac10a 100644 --- a/integration/deltaspike-data/testsuite/pom.xml +++ b/integration/deltaspike-data/testsuite/pom.xml @@ -1044,6 +1044,112 @@ + + hibernate-5.4 + + com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate,com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate52 + hibernate + + + + org.hibernate + hibernate-entitymanager + ${version.hibernate-5.4} + + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + test + + + ${project.groupId} + blaze-persistence-testsuite-base-hibernate + compile + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + provided + + + + + + org.bsc.maven + maven-processor-plugin + + + process + + process + + generate-sources + + + ${project.build.directory}/generated-sources/metamodel + + org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor + + + + + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + + + javax.xml.bind + jaxb-api + ${version.jaxb} + + + com.sun.xml.bind + jaxb-core + ${version.jaxb} + + + com.sun.xml.bind + jaxb-impl + ${version.jaxb} + + + javax.transaction + javax.transaction-api + ${version.jta} + + + javax.activation + activation + ${version.activation} + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.build.directory}/generated-sources/metamodel + + + + + + + + hibernate-6.0 diff --git a/integration/hibernate-5.4/pom.xml b/integration/hibernate-5.4/pom.xml new file mode 100644 index 0000000000..513a6930e6 --- /dev/null +++ b/integration/hibernate-5.4/pom.xml @@ -0,0 +1,39 @@ + + + + + 4.0.0 + + + com.blazebit + blaze-persistence-integration + 1.3.0-SNAPSHOT + ../pom.xml + + + blaze-persistence-integration-hibernate-5.4 + jar + + Blazebit Persistence Integration Hibernate 5.4 + + + + com.blazebit + blaze-persistence-integration-hibernate-5.3 + + + diff --git a/integration/pom.xml b/integration/pom.xml index 09687bab6d..a55f40a416 100644 --- a/integration/pom.xml +++ b/integration/pom.xml @@ -38,6 +38,7 @@ hibernate-5 hibernate-5.2 hibernate-5.3 + hibernate-5.4 hibernate-6.0 datanucleus datanucleus-5.1 diff --git a/integration/spring-data/testsuite/pom.xml b/integration/spring-data/testsuite/pom.xml index 4f5cb1d8c1..605192c82d 100644 --- a/integration/spring-data/testsuite/pom.xml +++ b/integration/spring-data/testsuite/pom.xml @@ -1039,6 +1039,112 @@ + + hibernate-5.4 + + com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate,com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate52 + hibernate + + + + org.hibernate + hibernate-entitymanager + ${version.hibernate-5.4} + + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + test + + + ${project.groupId} + blaze-persistence-testsuite-base-hibernate + compile + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + provided + + + + + + org.bsc.maven + maven-processor-plugin + + + process + + process + + generate-sources + + + ${project.build.directory}/generated-sources/metamodel + + org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor + + + + + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + + + javax.xml.bind + jaxb-api + ${version.jaxb} + + + com.sun.xml.bind + jaxb-core + ${version.jaxb} + + + com.sun.xml.bind + jaxb-impl + ${version.jaxb} + + + javax.transaction + javax.transaction-api + ${version.jta} + + + javax.activation + activation + ${version.activation} + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.build.directory}/generated-sources/metamodel + + + + + + + + hibernate-6.0 diff --git a/jpa-criteria/testsuite/pom.xml b/jpa-criteria/testsuite/pom.xml index 6e7bd75b76..0bf6eba581 100644 --- a/jpa-criteria/testsuite/pom.xml +++ b/jpa-criteria/testsuite/pom.xml @@ -793,6 +793,111 @@ + + hibernate-5.4 + + com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate,com.blazebit.persistence.testsuite.base.jpa.category.NoHibernate52 + + + + org.hibernate + hibernate-entitymanager + ${version.hibernate-5.4} + + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + test + + + ${project.groupId} + blaze-persistence-testsuite-base-hibernate + test + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + provided + + + + + + org.bsc.maven + maven-processor-plugin + + + process-test + + process-test + + generate-test-sources + + + ${project.build.directory}/test-metamodel + + org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor + + + + + + + + org.hibernate + hibernate-jpamodelgen + ${version.hibernate-5.4} + + + javax.xml.bind + jaxb-api + ${version.jaxb} + + + com.sun.xml.bind + jaxb-core + ${version.jaxb} + + + com.sun.xml.bind + jaxb-impl + ${version.jaxb} + + + javax.transaction + javax.transaction-api + ${version.jta} + + + javax.activation + activation + ${version.activation} + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-test-source-metamodel + generate-test-sources + + add-test-source + + + + ${project.build.directory}/test-metamodel + + + + + + + + hibernate-6.0 diff --git a/parent/pom.xml b/parent/pom.xml index 5420afa651..7e7b90d4c1 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -53,6 +53,7 @@ 5.2.9.Final 5.3.1.Final + 5.4.0-SNAPSHOT 5.3.1.Final @@ -194,6 +195,11 @@ blaze-persistence-integration-hibernate-5.3 ${project.version} + + ${project.groupId} + blaze-persistence-integration-hibernate-5.4 + ${project.version} + ${project.groupId} blaze-persistence-integration-hibernate-6.0 diff --git a/pom.xml b/pom.xml index f4137116f2..13c0cc9ed7 100644 --- a/pom.xml +++ b/pom.xml @@ -126,6 +126,13 @@ + + + JBoss Snapshots + JBoss Snapshots + http://repository.jboss.org/nexus/content/groups/public/ + + normal-jdk-jar