When deploying to a non-clojars maven repository the readme suggests using the environment variables CLOJARS_URL, CLOJARS_USERNAME and CLOJARS_PASSWORD. This works as expected.
However - the readme also mentions the possibility to set the repository url in the :exec-args map in the deploy alias in deps.edn like this:
When doing this, the username and password will no longer be read from the CLOJARS_* environment variables (nor from ~/.m2/settings.xml) as one would expect. Adding :username and :password fields to the :repository map does work, but one would most likely want to avoid that.
When deploying to a non-clojars maven repository the readme suggests using the environment variables
CLOJARS_URL
,CLOJARS_USERNAME
andCLOJARS_PASSWORD
. This works as expected.However - the readme also mentions the possibility to set the repository url in the
:exec-args
map in the deploy alias in deps.edn like this:When doing this, the username and password will no longer be read from the CLOJARS_* environment variables (nor from
~/.m2/settings.xml
) as one would expect. Adding:username
and:password
fields to the:repository
map does work, but one would most likely want to avoid that.