sbt/sbt-bintray-bundle

Name: sbt-bintray-bundle

Owner: sbt

Description: null

Created: 2015-06-18 17:00:00.0

Updated: 2016-04-19 22:54:32.0

Pushed: 2017-03-31 01:10:55.0

Homepage: null

Size: 32

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

sbt-bintray-bundle

Build Status

sbt-bintray-bundle = sbt-bundle + bintray-sbt

This is an sbt plugin to publish your ConductR bundle and its configuration to Bintray.

Setup

In project/bintraybundle.sbt:

btPlugin("com.typesafe.sbt" % "sbt-bintray-bundle" % "1.2.0")

Declaring the native packager or any of its other plugins should be sufficient. For example, in your build.sbt file:

undleSettings,
 := "bundle1"

 license is required for bintray packages
nses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))

nfig(Bundle)(Seq(
 A version control system url is required for bintray packages
ntrayVcsUrl := Some("https://github.com/sbt/sbt-bintray-bundle"),
 Optionally, if you want to publish to an org repo other than your own
ntrayOrganization := Some("orgname")
 Optionally, if you want to change the name of the repo ("bundle" is the default)
ntrayRepository := "test-bundle-repo",


 val root = (project in file(".")).enablePlugins(JavaAppPackaging)
Usage

To stage your Conductr bundle to Bintray,

ndle:publish

Go back to Bintray.com, and hit the publish button to release it (set the bintrayReleaseOnPublish to true if you'd prefer to release immediately).

Most Bintray plugin keys are honored and can be scoped specifically for bundles e.g.: bintrayReleaseOnPublish in Bundle means that the setting will be applied for the specific bundle.

In addition, where a project has multiple bundle types and/or bundle configuration then bintray settings can be applied distinctly. Check out the sbt-bintray-bundle-tester sub project for an example.

Note that bundle configurations can also be published: configuration:publish. Take care when publishing configurations that contain sensitive data e.g. passwords and secrets. Ensure that the target repository on Bintray is protected by credentials. Note also that the configuration repo/package on Bintray will not default to the same repo/package as the bundle. Configuration is regarded as sensitive and so you must consider carefully where it lies. By default, configuration is published to a bundle-configuration repo.

© Lightbend Inc., 2015-2017


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.