[hibernate-commits] [hibernate/hibernate-search] 8df7f8: HSEARCH-3700 Upgrade to Hibernate ORM 5.3.12.Final

Yoann Rodière noreply at github.com
Thu Sep 12 04:51:48 EDT 2019


  Branch: refs/heads/5.10
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 8df7f8bfe9b923a51789f42b1b9dcf7bbb427f83
      https://github.com/hibernate/hibernate-search/commit/8df7f8bfe9b923a51789f42b1b9dcf7bbb427f83
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3700 Upgrade to Hibernate ORM 5.3.12.Final


  Commit: d8292d3dd9893a1d1d2a178aad5f11ca654a9b75
      https://github.com/hibernate/hibernate-search/commit/d8292d3dd9893a1d1d2a178aad5f11ca654a9b75
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3700 Fix dependency divergence


  Commit: adb5e4be3d9240fd2e1ea69ef7a1701f65609ded
      https://github.com/hibernate/hibernate-search/commit/adb5e4be3d9240fd2e1ea69ef7a1701f65609ded
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M integrationtest/osgi/karaf-features/src/main/features/features.xml

  Log Message:
  -----------
  HSEARCH-3700 Use simpler dependencies in OSGi feature to avoid conflicts with the ORM OSGi feature

I don't know what was going on exactly, but this configuration is
simpler and apparently solves the problem.

For the record, here is the kind of error we were having:

&amp#27;[90m11:01:24.252&amp#27;[0m &amp#27;[1;31mERROR&amp#27;[m &amp#27;[90m[FelixDispatchQueue]&amp#27;[0m FrameworkEvent ERROR - PAXEXAM-PROBE-a90dffb0-30ea-4fe4-8037-6e942c9cc138
org.osgi.framework.ServiceException: Service factory exception: Duplicate event listener found
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:352)
at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247)
at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:350)
at org.apache.felix.framework.Felix.getService(Felix.java:3737)
at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)
at org.hibernate.search.test.integration.osgi.HibernateSearchWithKarafIT.testIndexAndSearch(HibernateSearchWithKarafIT.java:273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runLeafWithRetry(ContainerTestRunner.java:97)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChildWithRetry(ContainerTestRunner.java:84)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:75)
at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:43)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.hibernate.event.service.spi.EventListenerRegistrationException: Duplicate event listener found
at org.hibernate.event.service.internal.EventListenerGroupImpl.listenerShouldGetAdded(EventListenerGroupImpl.java:133)
at org.hibernate.event.service.internal.EventListenerGroupImpl.appendListener(EventListenerGroupImpl.java:97)
at org.hibernate.event.service.internal.EventListenerGroupImpl.appendListeners(EventListenerGroupImpl.java:91)
at org.hibernate.event.service.internal.EventListenerRegistryImpl.appendListeners(EventListenerRegistryImpl.java:245)
at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.registerHibernateSearchEventListener(HibernateSearchIntegrator.java:85)
at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:51)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:275)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:462)
at org.hibernate.boot.internal.MetadataImpl.buildSessionFactory(MetadataImpl.java:184)
at org.hibernate.osgi.OsgiSessionFactoryService.buildSessionFactory(OsgiSessionFactoryService.java:147)
at org.hibernate.osgi.OsgiSessionFactoryService.getService(OsgiSessionFactoryService.java:92)
at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:347)
... 52 more


  Commit: 3b2ecf0ce8009bf4e6f032c5724df94da3cc7bed
      https://github.com/hibernate/hibernate-search/commit/3b2ecf0ce8009bf4e6f032c5724df94da3cc7bed
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M elasticsearch/pom.xml
    M integrationtest/osgi/karaf-features/src/main/features/features.xml
    M orm/pom.xml
    M pom.xml
    M testing/pom.xml

  Log Message:
  -----------
  HSEARCH-3699 Rely on ORM to declare the dependency to JAXB in Java 9+ instead of declaring it ourselves


  Commit: 3471663b57a86891f0ac9f00923a39e4e62ae766
      https://github.com/hibernate/hibernate-search/commit/3471663b57a86891f0ac9f00923a39e4e62ae766
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M integrationtest/elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/Elasticsearch2IndexMappingIT.java
    M integrationtest/elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/Elasticsearch5IndexMappingIT.java

  Log Message:
  -----------
  Fix a comment in tests


  Commit: 267874bb1a2f32a62f78185ed9be66f45a6e7468
      https://github.com/hibernate/hibernate-search/commit/267874bb1a2f32a62f78185ed9be66f45a6e7468
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M elasticsearch/pom.xml
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/bridge/builtin/impl/ElasticsearchCalendarBridge.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/bridge/builtin/impl/ElasticsearchDateBridge.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/ElasticsearchDateHelper.java
    A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchDateHelperTest.java
    M integrationtest/elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/Elasticsearch2IndexMappingIT.java
    M integrationtest/elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/Elasticsearch5IndexMappingIT.java
    M integrationtest/elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchDSLIT.java
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3698 Use JDK formatters instead of javax.xml.bind to format Date/Calendar instances for Elasticsearch


  Commit: fcea0ee316bdf0bdbb70143d53258723b9d04af2
      https://github.com/hibernate/hibernate-search/commit/fcea0ee316bdf0bdbb70143d53258723b9d04af2
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3696 Update the Maven profiles to also work with JDK12


  Commit: e5926b4b2912b0aca6074ab47e1893861e0896d2
      https://github.com/hibernate/hibernate-search/commit/e5926b4b2912b0aca6074ab47e1893861e0896d2
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3696 Upgrade to Jacoco 0.8.3

Compatible with JDK12 in particular.


  Commit: 249ad999ec18139cdd2a9515a64b5d08b6504309
      https://github.com/hibernate/hibernate-search/commit/249ad999ec18139cdd2a9515a64b5d08b6504309
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3696 Disable OSGi and WildFly integration tests in the JDK12+ builds


  Commit: bdf0b36542cc120ea34f83a5659ded16ae2bed96
      https://github.com/hibernate/hibernate-search/commit/bdf0b36542cc120ea34f83a5659ded16ae2bed96
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3696 Upgrade to Byteman 4.0.7

Necessary to handle JDK13 bytecode


  Commit: a9146f6578446b384ba7ec284b6e08ead53c3dcd
      https://github.com/hibernate/hibernate-search/commit/a9146f6578446b384ba7ec284b6e08ead53c3dcd
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile

  Log Message:
  -----------
  HSEARCH-3696 Add JDK13 to the Jenkinsfile


  Commit: dfdfbbb135fba0a280089f4e79b623d977845808
      https://github.com/hibernate/hibernate-search/commit/dfdfbbb135fba0a280089f4e79b623d977845808
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3696 Upgrade to elasticsearch-maven-plugin 6.14

Necessary to set environment variables when we start Elasticsearch.


  Commit: 3b69c814368264965dc3ace7b1615674e5429617
      https://github.com/hibernate/hibernate-search/commit/3b69c814368264965dc3ace7b1615674e5429617
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile
    M README.md
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3696 Run Elasticsearch on a different JDK in the JDK13 Jenkinsfile build

Elasticsearch 6 doesn't work with JDK13 yet, and ES5 probably never will.


  Commit: 7524a6f0f9766047184067dab3b94fd3214074d8
      https://github.com/hibernate/hibernate-search/commit/7524a6f0f9766047184067dab3b94fd3214074d8
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile

  Log Message:
  -----------
  HSEARCH-3695 Reword parameters and variables in Jenkinsfile to refer to build environment rather than IT environment

Because the JDK is not (only) about ITs.


  Commit: 5f6e36075ea6eedda31a0b60ccb8e04411e437df
      https://github.com/hibernate/hibernate-search/commit/5f6e36075ea6eedda31a0b60ccb8e04411e437df
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile

  Log Message:
  -----------
  HSEARCH-3695 Move environment selection in the Jenkinsfile to a separate method


  Commit: 21b121f71b649166a57b13f7b0fd6efec6da7dc3
      https://github.com/hibernate/hibernate-search/commit/21b121f71b649166a57b13f7b0fd6efec6da7dc3
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile

  Log Message:
  -----------
  HSEARCH-3695 Add an ENVIRONMENT_FILTER parameter to the Jenkinsfile


  Commit: 1247e71a9028613996b9598fb05b2c8a23764e19
      https://github.com/hibernate/hibernate-search/commit/1247e71a9028613996b9598fb05b2c8a23764e19
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile

  Log Message:
  -----------
  HSEARCH-3695 Avoid running the default build when only a non-default environment that doesn't require default build artifacts is run


  Commit: 5376a79485538609595c03fcb6e2eb9d4859132f
      https://github.com/hibernate/hibernate-search/commit/5376a79485538609595c03fcb6e2eb9d4859132f
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile

  Log Message:
  -----------
  HSEARCH-3695 Fix a compilation error following a renaming in the Jenkinsfile


  Commit: ecc696a578ed1381c74d8438eec2ead436c5dcf2
      https://github.com/hibernate/hibernate-search/commit/ecc696a578ed1381c74d8438eec2ead436c5dcf2
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M documentation/src/main/asciidoc/configuration.asciidoc
    M integrationtest/performance/orm/pom.xml
    M integrationtest/wildfly/pom.xml
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3701 Upgrade feature packs and integration tests to WildFly 13


  Commit: d4f9710ce77fd0d416e0173d00935030fd27d063
      https://github.com/hibernate/hibernate-search/commit/d4f9710ce77fd0d416e0173d00935030fd27d063
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/elasticsearch/ElasticsearchModuleMemberRegistrationIT.java

  Log Message:
  -----------
  HSEARCH-3701 Disable Elasticsearch+WildFly integration tests

Because of https://issues.jboss.org/browse/WFCORE-4083, not fixed in
WF14.


  Commit: 59db5d4ccc7b1b0b35940fae9b70717e4aa54db8
      https://github.com/hibernate/hibernate-search/commit/59db5d4ccc7b1b0b35940fae9b70717e4aa54db8
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M documentation/src/main/asciidoc/configuration.asciidoc
    M integrationtest/performance/orm/pom.xml
    M integrationtest/performance/orm/src/test/resources/arquillian.xml
    M integrationtest/wildfly/pom.xml
    M integrationtest/wildfly/src/test/resources/arquillian.xml
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3701 Upgrade to WildFly 14.0.1.Final


  Commit: a4a2d94ccf22984888eb12094f1662de346bedb6
      https://github.com/hibernate/hibernate-search/commit/a4a2d94ccf22984888eb12094f1662de346bedb6
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3702 Upgrade to JBoss Logging 3.4.0.Final


  Commit: 40ae2db8871d8e5b5061951ab5f07899e12eab37
      https://github.com/hibernate/hibernate-search/commit/40ae2db8871d8e5b5061951ab5f07899e12eab37
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M distribution/pom.xml
    M documentation/src/main/asciidoc/configuration.asciidoc
    M integrationtest/wildfly/pom.xml
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3701 Upgrade to WildFly 17.0.1


  Commit: b66c8773b18a11d5849431009bf308f9a0249901
      https://github.com/hibernate/hibernate-search/commit/b66c8773b18a11d5849431009bf308f9a0249901
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3701 Re-enable WildFly tests on JDK12+


  Commit: 9b2324579efdc522963a87405bc8bac8338a534b
      https://github.com/hibernate/hibernate-search/commit/9b2324579efdc522963a87405bc8bac8338a534b
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/elasticsearch/ElasticsearchModuleMemberRegistrationIT.java

  Log Message:
  -----------
  HSEARCH-3701 Re-enable Elasticsearch tests on WildFly


  Commit: 6494fe8392fc1a8d1205d6e9e2843f829bc70d8a
      https://github.com/hibernate/hibernate-search/commit/6494fe8392fc1a8d1205d6e9e2843f829bc70d8a
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M documentation/src/main/asciidoc/configuration.asciidoc
    M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/VersionTestHelper.java

  Log Message:
  -----------
  HSEARCH-3701 Follow-up on HSEARCH-3168: use the non-deprecated Hibernate ORM module name


  Commit: abfe60bcc6fc6e574d6e358a711e205ad3b34555
      https://github.com/hibernate/hibernate-search/commit/abfe60bcc6fc6e574d6e358a711e205ad3b34555
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3701 Re-enable WildFly tests on JDK11+


  Commit: bc3f419ad7ec8cb3d932b941756ecd0d8cfcc409
      https://github.com/hibernate/hibernate-search/commit/bc3f419ad7ec8cb3d932b941756ecd0d8cfcc409
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M jbossmodules/elasticsearch/src/main/modules/search/elasticsearch/module.xml

  Log Message:
  -----------
  HSEARCH-3703 Remove the dependency to javax.xml.bind.api in JBoss modules


  Commit: 927329a34af9038a11ecd98635ddb5f0c0b006c2
      https://github.com/hibernate/hibernate-search/commit/927329a34af9038a11ecd98635ddb5f0c0b006c2
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M Jenkinsfile

  Log Message:
  -----------
  HSEARCH-3697 Mark JDK13 as a supported environment in the Jenkinsfile


Compare: https://github.com/hibernate/hibernate-search/compare/4ca69961d21b...927329a34af9



More information about the hibernate-commits mailing list