diff --git a/src/sphinx/Community/Bintray-For-Plugins.rst b/src/sphinx/Community/Bintray-For-Plugins.rst index 35efa331a..ca274a9bc 100644 --- a/src/sphinx/Community/Bintray-For-Plugins.rst +++ b/src/sphinx/Community/Bintray-For-Plugins.rst @@ -88,6 +88,9 @@ Make sure your project has a valid license specified, as well as unique name and Make a release ============== + +*Note: bintray does not support snapshots. We recommend using `git-revisions supplied by the sbt-git plugin `_. + Once your build is configured, open the sbt console in your build and run: .. code-block:: console diff --git a/src/sphinx/Community/Community-Plugins.rst b/src/sphinx/Community/Community-Plugins.rst index d13ad1c75..d59374506 100644 --- a/src/sphinx/Community/Community-Plugins.rst +++ b/src/sphinx/Community/Community-Plugins.rst @@ -16,39 +16,7 @@ Community Ivy Repository ======================== `Typesafe `_ has provided a freely available `Ivy Repository `_ for sbt projects to use. -If you would like to publish your project to this Ivy repository, first contact `sbt-repo-admins `_ and request privileges (we have to verify code ownership, rights to publish, etc.). After which, you can deploy your plugins using the following configuration: - -:: - - publishTo := Some(Resolver.url("sbt-plugin-releases", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)) - - publishMavenStyle := false - -You'll also need to add your credentials somewhere. For example, you might use a `~/.sbt/pluginpublish.sbt` file: - -:: - - credentials += Credentials("Artifactory Realm", - "repo.scala-sbt.org", "@user name@", "@my encrypted password@") - -Where `@my encrypted password@` is actually obtained using the following `instructions `_. - -*Note: Your code must abide by the* `repository polices `_. - -To automatically deploy snapshot/release versions of your plugin use the following configuration: - -:: - - publishTo := { - val scalasbt = "http://repo.scala-sbt.org/scalasbt/" - val (name, url) = if (version.value.contains("-SNAPSHOT")) - ("sbt-plugin-snapshots", scalasbt+"sbt-plugin-snapshots") - else - ("sbt-plugin-releases", scalasbt+"sbt-plugin-releases") - Some(Resolver.url(name, new URL(url))(Resolver.ivyStylePatterns)) - } - -*Note: ivy repositories currently don't support Maven-style snapshots.* +This ivy repository is mirrored from the freely available `Bintray service `_. If you'd like to submit your plugin, please follow these instructions: `Bintray For Plugins `_. Available Plugins =================