Skip to content

computology/lein-maven-packagecloud-wagon

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Leiningen Packagecloud Maven Wagon

NOTE: this is currently in beta

Usage

Visit packagecloud.io/api_token and get your API token before proceeding.

Add the wagon plugin to the :plugins section of your project.clj

:plugins [[lein-maven-packagecloud-wagon "0.0.1"]]

Set up your :deploy-repositories to point to your packagecloud repository, like so:

(We are setting our snapshot and release repositories to the same, feel free to make them different)

:deploy-repositories [["releases" {:url "packagecloud-https://packagecloud.io/myuser/myrepo"}]
                      ["snapshots" {:url "packagecloud-https://packagecloud.io/myuser/myrepo"}]]

Add your API token to the :auth profile in ~/.lein/profiles.clj

{:auth {:repository-auth {#"packagecloud.*" {:username "" :password "009a80sd8as98a99980s0s9s"}}}}

lein deploy

That's it!

About

Maven Packagecloud Wagon wrapper for Leinengen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published