biscuit-java
Biscuit's Java library implementation.
Usage
<!-- https://mvnrepository.com/artifact/com.clever-cloud/biscuit-java -->
<dependency>
<groupId>com.clever-cloud</groupId>
<artifactId>biscuit-java</artifactId>
<version>@VERSION@</version>
</dependency>Development
Requirements
- JDK v11
- the Protobuf compiler command
protocv3+ is required in$PATH.
Build
mvn clean install
# skip tests
mvn clean install -DskipTestsPublish
Release process
mvn versions:set -DnewVersion=<NEW-VERSION>Commit and tag the version. Then push and create a GitHub release.
Finally, publishing to Nexus and Maven Central is automatically triggered by creating a GitHub release using GitHub Actions.
mvn versions:set -DnewVersion=<NEW-VERSION With Minor +1 and -SNAPSHOT>Commit and push.
GitHub Actions Requirements
Publish requires following secrets:
OSSRH_USERNAMEthe Sonatype usernameOSSRH_TOKENthe Sonatype tokenOSSRH_GPG_SECRET_KEYthe gpg private key used to sign packagesOSSRH_GPG_SECRET_KEY_PASSWORDthe gpg private key password
These are stored in GitHub organisation's secrets.