[hibernate-commits] [hibernate/hibernate-search] 7034ff: HSEARCH-3532 Fix the java module name for hibernat...

Yoann Rodière noreply at github.com
Wed Apr 3 10:10:46 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 7034ff7b1468b8209b52e9ad7bf148ba0659a249
      https://github.com/hibernate/hibernate-search/commit/7034ff7b1468b8209b52e9ad7bf148ba0659a249
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M util/common/pom.xml

  Log Message:
  -----------
  HSEARCH-3532 Fix the java module name for hibernate-search-util-common


  Commit: 8274a46672d4b9607d0ad5e3ccf87c59d817fc0c
      https://github.com/hibernate/hibernate-search/commit/8274a46672d4b9607d0ad5e3ccf87c59d817fc0c
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    A integrationtest/jdk/java-modules/src/main/java/module-info.java
    R integrationtest/jdk/jdk9-modules/src/main/java/module-info.java

  Log Message:
  -----------
  HSEARCH-3550 Move the module-info for Java modules ITs to the appropriate directory

It was being completely ignored...


  Commit: a66df6f8c177529bb9b27120fe44d8e717f34b3a
      https://github.com/hibernate/hibernate-search/commit/a66df6f8c177529bb9b27120fe44d8e717f34b3a
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-3550 Properly set the moditect plugin version in the POM file


  Commit: 92f8349c394172f693d81d5e79a87fdf87ebedfc
      https://github.com/hibernate/hibernate-search/commit/92f8349c394172f693d81d5e79a87fdf87ebedfc
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M integrationtest/jdk/java-modules/pom.xml
    M integrationtest/jdk/java-modules/src/main/java/module-info.java
    M integrationtest/jdk/java-modules/src/test/java/org/hibernate/search/integrationtest/java/module/service/AuthorServiceIT.java

  Log Message:
  -----------
  HSEARCH-3550 Actually execute java module integration tests in the module path

We were executing them in the classpath all along...


  Commit: 0c7d11b554a1ffb8f93990cc1370d8a5ce31de9c
      https://github.com/hibernate/hibernate-search/commit/0c7d11b554a1ffb8f93990cc1370d8a5ce31de9c
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M integrationtest/jdk/java-modules/pom.xml
    M integrationtest/jdk/java-modules/src/main/java/module-info.java
    A integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/config/MyElasticsearchAnalysisConfigurer.java
    R integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/config/MyLuceneAnalysisConfigurer.java
    M integrationtest/jdk/java-modules/src/main/java/org/hibernate/search/integrationtest/java/module/entity/Author.java
    M integrationtest/jdk/java-modules/src/main/resources/hibernate.properties

  Log Message:
  -----------
  HSEARCH-3550 Use the Elasticsearch backend instead of the Lucene backend in java module integration tests

Lucene has split packages, so it cannot be in the modulepath (not even
as an automatic module). Modules can only depend o the modulepath, not
on the classpath. Thus the Hibernate Search Lucene backend cannot be
used in modular applications.


  Commit: 5c0b8c05b51d8ba7fb5fb39003341430d6098554
      https://github.com/hibernate/hibernate-search/commit/5c0b8c05b51d8ba7fb5fb39003341430d6098554
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M integrationtest/jdk/java-modules/src/main/java/module-info.java

  Log Message:
  -----------
  HSEARCH-3550 Add a missing "opens" for Hibernate ORM entities in the java module integration tests


  Commit: 4bb268f2dd1533eeab4964bda7c8a1566bd3773e
      https://github.com/hibernate/hibernate-search/commit/4bb268f2dd1533eeab4964bda7c8a1566bd3773e
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-04-03 (Wed, 03 Apr 2019)

  Changed paths:
    M integrationtest/jdk/java-modules/pom.xml

  Log Message:
  -----------
  HSEARCH-3550 Skip java module tests until HSEARCH-3551 is fixed

Currently the test fails with this error:

[ERROR] test(org.hibernate.search.integrationtest.java.module.service.AuthorServiceIT)  Time elapsed: 0.982 s  <<< ERROR!
org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.search.mapper.orm.impl.HibernateSearchContextService]
at org.hibernate.search.integrationtest.java.module/org.hibernate.search.integrationtest.java.module.service.AuthorServiceIT.test(AuthorServiceIT.java:29)


Compare: https://github.com/hibernate/hibernate-search/compare/544702dc8b22...4bb268f2dd15



More information about the hibernate-commits mailing list