Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.63 KB

README.md

File metadata and controls

52 lines (31 loc) · 1.63 KB

Benji

This library is a Scala framework for Object Storage (e.g. S3/Amazon, S3/CEPH, Google Cloud Storage).

Build

The project is using SBT, so to build it from sources the following command can be used.

./project/build.sh

CircleCI Maven Javadocs

The environment variable PLAY_VERSION can be set to build the play module appropriately.

Setup

The operations to manage the buckets are available on the ObjectStorage instance, using BucketRef (bucket remote reference).

See also: Setup

Usage

Release

To prepare a new release the following command must be used.

sbt release

Publish 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>

Publish snapshot

Execute ./project/snapshot.sh