Skip to content

Commit

Permalink
HSEARCH-4768 Fix JavaModulePathTest with ORM 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Jul 3, 2023
1 parent 3c765bf commit 08c78e6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@
<scope>provided</scope>
</dependency>

<!-- Adding this dependency to be able to refer to ByteBuddy in module-info.java -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. -->
<version>${version.net.bytebuddy}</version>
</dependency>

<dependency>
<groupId>org.hibernate.search</groupId>
<artifactId>hibernate-search-util-internal-test-orm</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@

// Since Avro is using log4j we need to explicitly require it to make things work:
requires org.apache.logging.log4j;

/*
* This is necessary in order to put ByteBuddy in the modulepath and make module exports effective.
* I do not know why ByteBuddy doesn't end up in the modulepath without this.
*/
requires net.bytebuddy;
}

0 comments on commit 08c78e6

Please sign in to comment.