Commit Graph

292 Commits

Author SHA1 Message Date
Yoann Rodière 5fd97472b9 HHH-12946 Enable JAXB dependencies regardless of the JDK being used when building Hibernate ORM
Previously we would only add the dependency when building with JDK9+,
and we built all releases using JDK8.
This means the dependencies were useless, because they would never be
mentioned in the actual POMs published to users.
2018-10-17 11:43:03 +02:00
Yoann Rodière 2daa3811c6 HHH-12946 Remove unnecessary dependencies when building with JDK9+
We don't need to depend on JAXB's compiler (XJC) in our modules,
we just need the dependency in specific tasks during the build.
In particular we don't want users to transitively depend on XJC.

Also, we don't need an explicit dependency to JAXB in every module,
having one in hibernate-core is enough.
2018-10-17 11:43:03 +02:00
Yoann Rodière 51ab9f744d HHH-12946 Add explicit dependencies to JAXB APIs where relevant 2018-10-17 11:43:03 +02:00
Yoann Rodière 530ab1569e HHH-12946 Use constants for JAXB dependencies instead of inline strings
We may have to update these dependencies, let's make it easy.
2018-10-17 11:43:03 +02:00
Sanne Grinovero e15a9080ea HHH-12762 No longer needing to use port-offset in WildFly integration tests 2018-10-13 00:02:50 +01:00
Sanne Grinovero 4eb726ef4c HHH-12950 Use the Annotation Processor specific scopes of Gradle 2018-09-04 23:02:26 +01:00
Vlad Mihalcea 440a2ef490 HHH-12929 - Add AtomikosJtaPlatform implementation 2018-09-03 17:17:09 +03:00
Fabio Massimo Ercoli 3d1d1d2d98 HHH-12793 Upgrade Karaf, pax-exam and reenable the OSGi tests 2018-07-12 12:11:53 +02:00
Sanne Grinovero a3d39bbf96 HHH-12758 Arquillian JVM configuration for integration tests is ignoring system properties 2018-07-02 19:59:45 +01:00
Guillaume Smet afbec8856c HHH-12724 Add javax.activation as a dependency
It is required by JAXB now that JDK 9 does not provide it anymore.
2018-06-26 12:01:06 +02:00
Andrea Boriero 80bf92e32a HHH-12620 fix test dependencies 2018-05-25 11:56:00 -04:00
smarlow b34f615200 HHH-12620 some test dependencies 2018-05-25 11:56:00 -04:00
Steve Ebersole 82f2aa0d5d HHH-12474 - Make sure the JPA version is defined by a single property across build files
added HibernateVersion following pattern of JpaVersion
2018-04-30 10:38:34 -05:00
Andrea Boriero e2b7317560 HHH-12474 - Make sure the JPA version is defined by a single property across build files 2018-04-11 21:54:21 +01:00
Steve Ebersole c14180ea5b HHH-12410 - Cannot use AttributeConverter with spatial types
HHH-12443 - Introduce TypeConfiguration
2018-03-29 23:16:33 -05:00
Sanne Grinovero 0e597a03b5 HHH-11253 Revert dependency change on Javassist: still needed 2018-03-02 16:46:41 +00:00
Sanne Grinovero 0f5c3a0abc HHH-11253 Make Byte Buddy BytecodeProvider impl the default 2018-03-02 12:19:18 +00:00
Andrea Boriero 9d335961b8 HHH-12246 - Gradle build fails with Java 9 2018-01-24 14:51:36 +00:00
Steve Ebersole 84f8b1d479 HHH-12190 - General tidying of Gradle scripts
- simple tidying
2018-01-16 15:47:05 -06:00
Steve Ebersole 644c74d470 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Brett Meyer da80ad1a72 HHH-11366 made javax.inject optional in OSGi manifest 2018-01-02 16:31:21 -05:00
Steve Ebersole 554817baca HHH-12171 - Fix tests for hibernate-orm-modules 2018-01-02 13:47:29 -06:00
Guillaume Smet 8e25e7f350 HHH-12164 Upgrade Hibernate Validator used for testing to 6.0.7.Final 2017-12-20 16:21:29 +00:00
Sanne Grinovero bb204ba0dc Revert "Fix CDI tests failing due to migrating to JPA 2.2"
This reverts commit dc91f76c4bd7b31e0ec5efb0e2d09a20e1842119.

Solution dc91f76c4bd7b31e0ec5efb0e2d09a20e1842119 is not acceptable:
it will have the tests seem to pass but the modules we produce would
not actually work for other people as the published modules won't
include the proposed workaround.
2017-12-15 14:30:15 +00:00
Vlad Mihalcea a94faa9280 Fix CDI tests failing due to migrating to JPA 2.2 2017-12-13 06:19:32 -06:00
Steve Ebersole 7fc5d3e856 HHH-12098 - prep 5.3 2017-12-13 06:19:32 -06:00
Guillermo González de Agüero 20d17ec0f2 HHH-11805 Fix JACC cannot be enabled 2017-11-01 13:37:55 +02:00
Andrea Boriero 132767b4fb HHH-12001 - Allow ORM to be built with Java 9 2017-09-21 22:10:05 +01:00
Vlad Mihalcea 2a9c0fe0dd HHH-10654 - LockOptions.SKIP_LOCKED semantics implementation on MSSQL 2017-04-03 08:17:50 +03:00
Vlad Mihalcea 7c06d003dc HHH-11457 - Add MariaDB specific Dialects 2017-02-15 12:08:34 +02:00
Steve Ebersole 71ec8907f6 HHH-11370 - Consider making javax.enterprise:cdi-api dependency "provided" 2017-01-12 21:53:54 -06:00
Gunnar Morling 7d3788c76a HHH-11309 Marking OSGi package imports for ByteBuddy as optional 2017-01-02 17:57:28 +01:00
Steve Ebersole 2e49586adc HHH-11152 - Byte Buddy BytecodeProvider 2016-11-16 13:46:24 -06:00
Rafael Winterhalter ba3359fe62 HHH-11152: Added BytecodeProvider based on Byte Buddy 2016-11-16 13:18:46 -06:00
Jaikiran Pai 7247f05a21 HHH-10972 Use UTF-8 charset for reading file content of scripts that are used for initializing databases 2016-09-15 11:52:41 +03:00
Steve Ebersole 6c005239d4 HHH-11024 - Exception still thrown when dropping schema with a managed connection - exclude any arq+wf tests from JDK 9 builds 2016-08-08 15:53:55 -05:00
Steve Ebersole f025cf9c03 HHH-11024 - Exception still thrown when dropping schema with a managed connection 2016-08-06 14:05:03 -05:00
Gunnar Morling 65bbf28d3c HHH-10923 Upgrading CDI and related dependency versions 2016-07-26 15:16:25 +03:00
Steve Ebersole b112e5af3f HHH-10864 - Allow ORM to be built with Java 9 2016-06-18 15:12:23 -05:00
Steve Ebersole fdd15307e0 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 13:40:44 -05:00
Steve Ebersole 015be3df6e HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 13:40:44 -05:00
Vlad Mihalcea 231484662b HHH-10689 - Fix tests failing when switching to Oracle 2016-05-17 17:44:32 +03:00
Andrea Boriero a6af7c6f74 remove gradle stupid log :) 2016-05-06 13:13:29 -05:00
Andrea Boriero 9ae57a6f7a remove hibernate-entitymanager project 2016-05-06 13:13:29 -05:00
Andrea Boriero 37fc401da8 copy test from hem to core 2016-05-06 13:12:39 -05:00
Steve Ebersole 87e3f0fd28 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core) 2016-05-06 13:12:32 -05:00
Steve Ebersole b1d1a3c143 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA 2016-01-08 11:12:58 -06:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Steve Ebersole e6c1f511a3 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 23:22:42 -05:00
Steve Ebersole 246e98c5af HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 21:55:14 -05:00
Steve Ebersole b2b477a2ce HHH-10050 - AttributeConverter should supports ParameterizedType if autoApply is true 2015-10-06 19:28:49 -05:00
Steve Ebersole 7af7ebaf87 HHH-10129 - Evaluate AttributeConverter tests in hibernate-entitymanager for move to hibernate-core;
HHH-10154 - Change built-in JavaTypeDescriptor impls to not auto-register themselves with JavaTypeDescriptorRegistry
2015-09-30 12:37:49 -05:00
Steve Ebersole 463decd245 HHH-9959 - Upgrade Hibernate Validator to 5.2.0.Final 2015-07-29 08:56:59 -05:00
Steve Ebersole b24ba54d38 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-20 12:06:34 -05:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05:00
Steve Ebersole 6e7357beeb HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-09 11:36:04 -05:00
Steve Ebersole ffce4ffc2c HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi 2015-03-19 14:20:00 -05:00
Steve Ebersole 80bf715f0b HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi 2015-03-19 12:40:29 -05:00
Steve Ebersole 63a0f03c5a HHH-9654 - Adjust envers for 5.0 APIs + JAXB 2015-03-18 20:22:26 -05:00
Steve Ebersole 9caca0ce37 HHH-9490 - Migrate from dom4j to jaxb for XML processing;
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 16:53:51 -05:00
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Steve Ebersole 14d0116af2 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit bc2855b323.
2013-11-26 17:48:25 -06:00
Steve Ebersole 0252895354 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit b692fbc307.
2013-11-26 17:47:53 -06:00
Steve Ebersole 5f0927fed6 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit 2a9a17c79c.
2013-11-26 17:47:34 -06:00
Steve Ebersole 2a9a17c79c HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 16:38:15 -06:00
Steve Ebersole b692fbc307 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 16:37:33 -06:00
Steve Ebersole bc2855b323 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 13:53:18 -06:00
Steve Ebersole d1023821b1 HHH-8733 - General build cleanup 2013-11-26 13:04:55 -05:00
Steve Ebersole c1612fe004 HHH-8733 - General build cleanup 2013-11-22 14:53:24 -06:00
Steve Ebersole cbd828217a HHH-8485 - Apply newly extracted version-injection plugin 2013-09-10 16:08:18 -05:00
Steve Ebersole c1d1695606 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 01:19:33 -05:00
Steve Ebersole 1a3a2a52a2 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 00:18:56 -05:00
Brett Meyer 58622f3e10 HHH-7996 arquillian-based OSGi unit test, minor CL fixes 2013-07-01 16:38:20 -04:00
Brett Meyer 4ed8006e5a HHH-8255 made a few hibernate-core imports optional in the manifest 2013-06-07 13:05:36 -04:00
Steve Ebersole 1337d36a79 HHH-8235 - Drop database profiles upstream 2013-05-10 15:59:02 -05:00
Gunnar Morling 1bf647b7eb HHH-8218 - Upgrading to BV 1.1.0.Final and HV 5.0.1.Final 2013-05-06 16:29:52 -05:00
Steve Ebersole b8b9735cf5 simple build script fix for IDEA project generation 2013-04-17 13:26:55 -05:00
Steve Ebersole 8eeef7af3b HHH-8146 - Update to use maven-publishing plugin 2013-04-16 18:26:02 -05:00
Brett Meyer 079fd4ac01 HHH-8160 Corrected Import-Package in module manifests 2013-04-16 10:29:44 -04:00
Brett Meyer cc4ef44670 HHH-8160 Updated for Gradle 1.5 OSGi plugin changes and package
versioning issues
2013-04-09 09:57:36 -04:00
Steve Ebersole 378fc1378a HHH-8143 - Create a 'generateSources' task that performs all generation tasks 2013-04-04 14:45:49 -05:00
Hardy Ferentschik d3867e9c1b HHH-8100 Update to BV 1.1 (1.1.0.CR3 and matching Hibernate Validator 5.0.0.CR4); plus upgrade classmate to 0.8.0 2013-03-25 15:48:29 -05:00
Steve Ebersole 467daa22b0 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-20 22:03:35 -05:00
timpeeters 0f9fae5121 HHH-8076 Make javax.security and javax.validation optional
Currently the OSGi manifest creation via Gradle automatically imports all packages that are used by hibernate-core. Although this saves you from having to list all the imports manually, it does mean that some optional dependencies suddenly become mandatory dependencies. I've updated the hibernate-core Gradle build file to make the hibernate-core dependencies on javax.security and javax.validation optional. This way you are not forced to have these dependencies available in your OSGi container. More information in HHH-7941.
2013-03-15 10:16:07 -04:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00
Steve Ebersole fd8a45b2b2 HHH-7514 - Upgrade to Jandex 1.1 2012-08-22 13:41:16 -05:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Eric Dalquist 8de0f9e875 HHH-7468 Recreate toString value holder after deserialization 2012-08-02 13:30:21 +08:00
Steve Ebersole 9ce3afd8da HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter + HEM boot cleanup (HHH-6159) 2012-07-18 17:03:09 -05:00
Steve Ebersole 0196ad20f8 consolidate src/test and src/matrix 2012-06-07 14:07:08 -05:00
Strong Liu d2852e3c4d a little improvment on the build script 2012-03-23 16:02:45 +08:00
Steve Ebersole dceda48ff1 HHH-7162 - Use concise artifact syntax in build scripts 2012-03-09 13:40:26 -06:00
Strong Liu b4659173a8 1. remove commons-collections dependency.
2. moved org.hibernate.internal.util.collections.ConcurrentReferenceHashMap from envers module to core, and change it to doesn't allow null key / value.
3. Using ConcurrentReferenceHashMap this to replace old ReferenceMap (from commons-collections) which used in StatefulPersistenceContext.
4. copied org.hibernate.internal.util.collections.BoundedConcurrentHashMap from infinispan code base.
5. deprecate properties QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES and QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
6. add two new properties QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE and QUERY_PLAN_CACHE_MAX_SIZE
7. remove LRUMap, SimpleMRUCache and SoftLimitMRUCache
2012-03-06 23:28:22 +08:00
Steve Ebersole 7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Steve Ebersole ab94a18c33 HHH-6931 - Provide local database hook 2012-01-03 20:43:15 -06:00
Strong Liu d4e8e9973f HHH-6921 com.fasterxml:classmate dependency should not be exported to published pom 2011-12-28 13:11:18 +08:00
Strong Liu ff9eb6d1b2 test need to be compiled in UTF-8 2011-11-21 10:16:30 +08:00
Strong Liu 93f6ad6e2e HHH-6818 update dependencies management 2011-11-14 17:12:51 +08:00
Strong Liu 2d084cb8d9 HHH-6787 upgrade to JBoss Logging tools 1.0.0.CR3 2011-11-01 10:30:00 +00:00
Steve Ebersole d652de654c HHH-6653 - Clean up JAXB generated classes 2011-09-13 20:08:42 -05:00
Strong Liu 3b7bdb8ddc HHH-6618 enable idea support for matrix sourceset 2011-08-30 15:20:51 +08:00
Strong Liu e941eca2d5 HHH-6618 running hibernate functional test cases on DB matrix 2011-08-30 14:06:13 +08:00
Steve Ebersole e339dac91e HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 09:08:31 -05:00
Steve Ebersole 9e95d41689 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:57:11 -05:00
Steve Ebersole 8593cf91cd HHH-6206 - Explicitly add antlr jar to transitive dependencies 2011-06-08 11:12:56 -05:00
Steve Ebersole 7a5f0b4836 HHH-6194 - Better jaxb task to leverage Gradle up-to-date checking 2011-05-04 15:49:57 -05:00
Hardy Ferentschik dd019a1f43 HHH-6148 Adding classmate as a replacement for the commons annotations generic resolution code 2011-04-26 11:35:18 +02:00
Hardy Ferentschik d6e9138aec HHH-6131 Prefixing JAXB classes with 'XML' 2011-04-18 14:19:40 +02:00
Steve Ebersole 0f336414a2 HHH-6118 - Make Metadata more user-friendly API 2011-04-13 18:28:42 -05:00
Steve Ebersole 9d93e1188e HHH-6115 - jaxb generation should follow directory pattern 2011-04-11 17:43:43 -05:00
Hardy Ferentschik 0d29c346ec HHH-6111 enabling jaxb model generation for hbm configuration files 2011-04-11 19:11:06 +02:00
Hardy Ferentschik 297c703449 HHH-6109 Starting the implementation of a replacement for InheritanceState. The determined mapped classes need to be pre-processed
in order to detmerine inheritance features, default access types, etc
2011-04-11 19:10:12 +02:00
Hardy Ferentschik 42502e696b HHH-6109 Starting work for annotation binding against the new metamodel. Enabling JAXB for parsing of orm.xml 2011-04-11 19:09:44 +02:00
Steve Ebersole ba71fe0132 HHH-6036 - integration documentation generation 2011-03-29 15:14:09 -05:00
Steve Ebersole 671ef3accd HHH-6016 - Migrate version injection plugin to Gradle 2011-03-21 20:33:19 -05:00
Steve Ebersole 82d2ef4b1f HHH-6025 - Remove cglib dependencies 2011-03-18 14:48:17 -05:00
Steve Ebersole 718d56e267 HHH-6013 - Consolidate on single JTA impl for testing 2011-03-16 13:38:14 -05:00
Steve Ebersole 03ada52204 HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:06 -05:00
JPAV 346418c4ef Final sync with upstream master 2011-03-08 16:19:57 -06:00
Steve Ebersole bf186e7a6e HHH-5949 - Migrate, complete and integrate TransactionFactory as a service 2011-03-03 11:53:20 -06:00
JPAV 98058c2aea removed transitive=false for dependency 2011-02-25 11:41:52 -06:00
Steve Ebersole 4fd609e41e HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-23 15:30:23 -06:00
Steve Ebersole dc59f6bdd1 HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-23 15:30:22 -06:00
Steve Ebersole 2aa2dc0c59 HHH-5897 - Upgrade to Gradle 0.9.2 2011-02-23 15:20:40 -06:00
Sanne Grinovero 9d3b6bbb1d HHH-5880 needs to use classifier "tests" not "test" 2011-02-23 15:20:00 -06:00
Hardy Ferentschik d0ef75f1ca HHH-5880 Changed gradle build for for to push testing jar 2011-02-23 15:20:00 -06:00
Steve Ebersole 3ba79384f0 HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-10 09:45:28 -06:00
JPAV c7f09e5130 Attempt to compile twice, once only for annotations, then for everything else 2011-02-09 13:05:57 -06:00
Steve Ebersole ef301deadc HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests 2011-02-08 14:27:57 -06:00
JPAV 8c806d361d Changes from requests at Hibernate meeting: message codes, use XXXf methods for debug and trace, use @Cause 2011-02-08 13:55:27 -06:00
Steve Ebersole 2f8655e661 HHH-5897 - Upgrade to Gradle 0.9.2 2011-02-08 11:19:50 -06:00
Sanne Grinovero 9f992cd6d0 HHH-5880 needs to use classifier "tests" not "test" 2011-01-28 16:36:19 -06:00
Hardy Ferentschik 79e9a77d4e HHH-5880 Changed gradle build for for to push testing jar 2011-01-28 15:49:39 -06:00
JPAV a9b1425f3f Replaced references to slf4j with references to new jboss.logging.Logger implementations and i18n'd where it was clear how to do so. 2011-01-18 15:35:49 -06:00
Steve Ebersole 248ef9771f HHH-5616 - Switch to Gradle for builds .. gradlew 2010-10-11 14:41:49 -05:00
Steve Ebersole 7ce80c9c2d HHH-5616 - Switch to Gradle for builds .. IntelliJ 2010-10-11 14:41:49 -05:00
Steve Ebersole 901513ed7c HHH-5616 - Switch to Gradle for builds .. uploads 2010-10-11 14:41:49 -05:00
Steve Ebersole 5d12ea8287 HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:47 -05:00
Steve Ebersole 737ab3b672 HHH-5616 - Switch to Gradle for builds ... working hibernate-core 2010-10-11 14:41:47 -05:00
Steve Ebersole 34c2839dcc HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:47 -05:00