Skip to content

Commit

Permalink
ISPN-13648 Make infinispan-api optional (not finished)
Browse files Browse the repository at this point in the history
In order to use query modules without the api, we need to do something like we did for the micrometer dependency, trying to load the class...
  • Loading branch information
fax4ever committed May 17, 2022
1 parent ea0e968 commit 5b797b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commons-test/pom.xml
Expand Up @@ -45,6 +45,11 @@
<artifactId>blockhound</artifactId>
</dependency>

<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-api</artifactId>
</dependency>

<!-- Add Micrometer dependencies to all tests -->
<dependency>
<groupId>io.micrometer</groupId>
Expand Down
1 change: 1 addition & 0 deletions query/pom.xml
Expand Up @@ -20,6 +20,7 @@
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-api</artifactId>
<optional>true</optional>
</dependency>

<dependency>
Expand Down
6 changes: 6 additions & 0 deletions remote-query/remote-query-server/pom.xml
Expand Up @@ -12,6 +12,12 @@
<description>Infinispan Remote Query Server module</description>

<dependencies>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-api</artifactId>
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-component-processor</artifactId>
Expand Down

0 comments on commit 5b797b8

Please sign in to comment.