RSS Feed

SBT Plugin for Resolving and Publishing via Amazon S3

Posted on 8 May 2014, 9:00 AM PDT by Tim Underwood under Open Source


I recently wrote an SBT plugin that allows you to resolve and publish using Amazon's S3 service. This is useful if you want to use S3 as a private Maven (or Ivy) repository. I've released the plugin as open source under the Apache 2.0 License.

The source code is available on GitHub: https://github.com/frugalmechanic/fm-sbt-s3-resolver

Usage

The plugin is available on Maven Central so all you have to do is add it as a plugin to your project/plugins.sbt file:

addSbtPlugin("com.frugalmechanic" % "fm-sbt-s3-resolver" % "0.3.0")

You also need to make your S3 credentials available to the plugins via one of the methods specified in the README.md file. The easiest method is to just create a ~/.sbt/.s3credentials file of the following format:

accessKey = XXXXXXXXXX
secretKey = XXXXXXXXXX

Resolving

Just add your s3:// URL to the SBT Resolvers:

resolvers += "FrugalMechanic Snapshots" at "s3://maven.frugalmechanic.com/snapshots"

Note: If your bucket is public then you don't need the plugin and can just use the normal https:// URL.

Publishing

Just use the s3:// URL:

publishTo := Some("FrugalMechanic Snapshots" at "s3://maven.frugalmechanic.com/snapshots")

URL Formats

Just take whatever the https:// (or http://) URL for your S3 bucket would be and replace it with s3://. In the examples above I'm using a maven.frugalmehanic.com as a Static Website Using a Custom Domain where maven.frugalmechanic.com is the bucket name. The long form would also work:

s3://s3-us-west-2.amazonaws.com/maven.frugalmechanic.com/snapshots/
    Find Tim Underwoodon:
  • Google+
  • Twitter
comments powered by Disqus
precio Cialis 5 mg Effetti collaterali di Cialis 5 mg Dove comprare Cialis 20mg Consegna a domicilio di Cialis originale in Svizzera Viagra in Svizzera senza prescrizione medica Cialis 10mg in vendita Acquisto online di Viagra in farmacia Quanto costa il Cialis 5mg Efectividad de Reduslim Comprare Spedra Avanafil senza ricetta online Dove comprare il Viagra in Svizzera Comprar Cialis barato Viagra Contrareembolso sin receta Cuánto cuesta el Cialis 5 mg Comprar viagra Cialis 5 mg efectos secundarios leves Reduslim comprar en línea Medicamentos para la Disfuncion Erectil venta de tadalafilo Авиатор - игра на деньги в Пин Ап Comprar Cialis 5 mg Reazioni avverse a Cialis 5 mg Compra Cialis 20mg Dove comprare Cialis originale in Svizzera Farmacia per Viagra senza ricetta in Svizzera Cialis 10mg effetti collaterali Prezzo di Viagra in farmacia online Offerta Cialis 5mg Lugares para comprar Reduslim Comprare Spedra Avanafil senza ricetta online Acquista Viagra in Svizzera senza prescrizione Cialis efectos secundarios Compra Viagra Contrareembolso Descuento Cialis 5 mg Dónde comprar viagra Cialis 5 mg efectos secundarios Reduslim en farmacias Problemas de erección comprar Cialis en línea avanafil prezzo cialis 20 mg prezzo cialis effetti benefici cialis 10 mg Reduslim Kaufen how to buy pulse x crypto avanafil 100 mg prezzo buy cialis or generic tadalafil где купить диплом где купить диплом http://rdiplomik24.com купить диплом в москве купить диплом бакалавра http://diplomy-originaly.com купить диплом купить диплом о высшем образовании купить свидетельство о рождении купить диплом нового образца купить диплом кандидата наук купить дипломы о высшем купить аттестат за 11 класс где купить диплом https://gosznac-diploma.com/ купить диплом купить свидетельство о браке купить диплом с реестром купить диплом занесенный реестр купить диплом специалиста http://originality-diplomy.com купить диплом о высшем образовании реестр купить диплом кандидата наук https://russian-diplom.com купить диплом с внесением в реестр купить свидетельство о браке купить диплом магистра купить диплом пту с занесением в реестр купить свидетельство о браке купить аттестат за 9 класс купить диплом с реестром цена купить аттестат https://premiums-diploms.com куплю диплом техникума реестр купить диплом фармацевта http://russdiplomiki.com купить диплом высшем образовании занесением реестр купить диплом университета https://diplomansy.com купить диплом с занесением в реестр отзывы купить диплом о высшем образовании https://diploms-asx.com купить диплом с проводкой купить аттестат за 11 класс https://diploms-asx.com купить диплом с реестром купить дипломы о высшем https://eonline-diploms.com купить диплом врача с занесением в реестр купить диплом о среднем специальном http://free-diplommi.com купить диплом занесенный реестр купить диплом автомеханика http://diplomrussian.com купить медицинский диплом с занесением в реестр купить диплом вуза где купить диплом куплю диплом техникума реестр купить диплом о среднем специальном купить диплом колледжа купить настоящий диплом реестр купить диплом в москве купить диплом о высшем образовании купить диплом техникума с занесением в реестр купить диплом ссср где купить диплом купить диплом без реестра купить диплом https://russiany-diploman.com/ купить диплом с реестром купить диплом техникума https://land-diplom.com/ купить диплом медсестры с занесением в реестр купить аттестат купить диплом автомеханика купить диплом высшем образовании занесением реестр купить диплом магистра https://diplomsy-landsy24.ru/ купить диплом вуза с занесением в реестр купить диплом вуза https://anny-diploms.com купить диплом без реестра купить диплом врача купить диплом о среднем образовании купить диплом с занесением в реестр реально купить свидетельство о рождении https://originaly-dokuments.com купить диплом с реестром купить диплом в москве https://diplomy-grup24.com/ купить диплом с реестром цена купить диплом автомеханика http://dlplomy-box24.ru/ купить диплом без реестра