Skip to content

Commit

Permalink
Merge branch 'main' into pingcommand-niharika
Browse files Browse the repository at this point in the history
  • Loading branch information
niharikabhavaraju authored Jan 27, 2025
2 parents d6a5c21 + 8ba7ccd commit 1de3c7d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ dependencies {
```

Maven:
- **IMPORTANT** must include a `classifier`. Please use this dependency block and add it to the pom.xml file.
- **IMPORTANT** must include a `classifier`. Please use this dependency block, or both the dependency and the extension blocks if you're using `os-maven-plugin`, and add it to the pom.xml file.
```xml

<!--osx-aarch_64-->
Expand All @@ -118,6 +118,24 @@ Maven:
<classifier>linux-x86_64</classifier>
<version>[1.0.0,2.0.0)</version>
</dependency>

<!--with os-maven-plugin-->
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
</extension>
</extensions>
</build>
<dependencies>
<dependency>
<groupId>io.valkey</groupId>
<artifactId>valkey-glide</artifactId>
<classifier>${os.detected.classifier}</classifier>
<version>[1.0.0,2.0.0)</version>
</dependency>
</dependencies>
```

SBT:
Expand Down

0 comments on commit 1de3c7d

Please sign in to comment.