Skip to content

Commit

Permalink
HSEARCH-4844 Add hppc to explicit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta authored and yrodiere committed Apr 27, 2023
1 parent 8f463a1 commit f01114b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ updates:
# https://github.com/mockito/mockito/releases/tag/v5.0.0
- dependency-name: "org.mockito:*"
versions: ["[5.0.0,)"]
# We strictly align this dependency on the version used in Lucene.
- dependency-name: "com.carrotsearch:hppc"
6 changes: 6 additions & 0 deletions backend/lucene/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-facet</artifactId>
</dependency>
<!-- DO NOT REMOVE and DO NOT MANAGE the version of this dependency. See the version property declaration. -->
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>hppc</artifactId>
<version>${version.com.carrotsearch.hppc}</version>
</dependency>

<dependency>
<groupId>org.jboss.logging</groupId>
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@
<javadoc.org.apache.lucene.core.url>https://lucene.apache.org/core/${javadoc.org.apache.lucene.tag}/core/</javadoc.org.apache.lucene.core.url>
<javadoc.org.apache.lucene.analyzers-common.url>https://lucene.apache.org/core/${javadoc.org.apache.lucene.tag}/analyzers-common/</javadoc.org.apache.lucene.analyzers-common.url>
<javadoc.org.apache.lucene.queryparser.url>https://lucene.apache.org/core/${javadoc.org.apache.lucene.tag}/queryparser/</javadoc.org.apache.lucene.queryparser.url>
<!-- These version must be kept in sync with the version of the dependency in Lucene.
DO NOT USE DEPENDENCY MANAGEMENT FOR THESE DEPENDENCIES!
Thanks to not using dependency management for these dependencies, we get a build failure
when the versions start diverging, thanks to the maven-enforcer-plugin
and to our own explicit dependencies in the relevant artifacts.
-->
<version.com.carrotsearch.hppc>0.8.1</version.com.carrotsearch.hppc>

<!-- >>> Elasticsearch -->
<!-- The version of the Elasticsearch client used by Hibernate Search, independently of the version of the remote cluster -->
Expand Down

0 comments on commit f01114b

Please sign in to comment.