http://reval-mocchi.rhcloud.com

ClojureとMavenとOpenShift

OpenShiftでClojureを動かそうとしていた時に,起きた問題. ; ほぼほぼ同じ構成の別アプリケーションでは動いていたのに,動かなくなったので原因を追究したいがわからなかった...

Could not transfer artifact lein-ring:lein-ring:pom:0.8.13 from/to clojars (https://clojars.org/repo/): Specified destination directory cannot be created: /.m2/repository/lein-ring/lein-ring/0.8.13
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.

option:enable style:terminal title:error messages

解決方法

export LEIN_JVM_OPTS="-Duser.home=$HOME/clojure"

option:enable style:terminal

参考元 Wrong directories in c9.io · Issue #1214 · technomancy/leiningen · GitHub