Lagom Bundle Plugin

Build Status

This plugin has been replaced by sbt-conductr. Please use this instead.

Introduction

A plugin that uses sbt-bundle to produce a ConductR bundle for Lagom.

The declared descriptor names are automatically extracted from the Lagom services and added to the bundle configuration.

Usage

  1. Add the plugin to the plugins.sbt:

    addSbtPlugin("com.typesafe.sbt" % "sbt-lagom-bundle" % "1.0.3")
  2. Ensure your service implementation projects have enabled the LagomJava sbt plugin:

    lazy val fooImpl = (project in file("foo-impl")).enablePlugins(LagomJava)
  3. Finally, produce a ConductR bundle for each of your service with:

    bundle:dist
    

Settings

The following settings are available via LagomBundleKeys:

Setting Description
conductrBundleLibVersion The version of conductr-bundle-lib to depend on. Defaults to 1.4.2.
endpointsPort Declares the port for each service endpoint that gets exposed to the outside world, e.g. http://:9000/myservice. Defaults to 9000.

Advanced Usage

For more information configuring bundles please check out sbt-bundle.

© Lightbend Inc., 2014-2016