Skip to content

Instantly share code, notes, and snippets.

@levand
Created July 9, 2015 16:28
Show Gist options
  • Save levand/5f89e5831c0f9e75b748 to your computer and use it in GitHub Desktop.
Save levand/5f89e5831c0f9e75b748 to your computer and use it in GitHub Desktop.
datomic repo profile example
;;profiles.clj
{:user {:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"
:username "luke@cognitect.com"
:password "MY SUPER SECRET PASSWORD"}}}}
@hlship
Copy link

hlship commented Jul 9, 2015

Almost there ...

$ lein deps :tree
(:repositories detected in user-level profiles! [:user]
See https://github.com/technomancy/leiningen/wiki/Repeatability)
Could not transfer artifact com.datomic:datomic-pro:pom:0.9.5067 from/to my.datomic.com (https://my.datomic.com/repo): Not authorized , ReasonPhrase:Unauthorized.
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.```

@hlship
Copy link

hlship commented Jul 9, 2015

My error; was using my account password, not my license key password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment