Skip to content

Commit

Permalink
add special note for infinispan 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-bukhtoyarov committed Nov 20, 2018
1 parent 1259954 commit bbe3290
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc-pages/infinispan.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,22 @@ at bucket construction time.


## Dependencies
To use ```bucket4j-infinispan``` extension you need to add following dependency:
To use ```bucket4j-infinispan``` with ```Infinispan 9.x``` extension you need to add following dependency:
```xml
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
<artifactId>bucket4j-infinispan</artifactId>
<version>${bucket4j.version}</version>
</dependency>
```
If you are using legacy version of Infinispan ```8.x``` then you need to add following dependency:
```xml
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
<artifactId>bucket4j-infinispan-8</artifactId>
<version>${bucket4j.version}</version>
</dependency>
```

## Example of Bucket instantiation
```java
Expand Down

0 comments on commit bbe3290

Please sign in to comment.