This library is a Scala framework for Object Storage (e.g. S3/Amazon, S3/CEPH, Google Cloud Storage).
The project is using SBT, so to build it from sources the following command can be used.
./project/build.sh
The environment variable
PLAY_VERSION
can be set to build theplay
module appropriately.
The operations to manage the buckets are available on the ObjectStorage
instance, using BucketRef
(bucket remote reference).
See also: Setup
To prepare a new release the following command must be used.
sbt release
To publish a release on Maven Central, use the following steps.
- Build artifacts:
./project/build.sh
- Publish all modules:
./project/deploy.sh <version> <pgp-key>
- Publish only play modules:
export SCALA_MODULES="play:benji-play"
./project/deploy.sh <version> <pgp-key>
- Go to https://oss.sonatype.org/#stagingRepositories and login with user allowed to publish on Maven central.
Execute ./project/snapshot.sh