slipset / deps-deploy

deploy your stuff
Eclipse Public License 1.0
149 stars 31 forks source link

crash when the value of the key :repository is a string and it's not in ~/.m2/settings.xml #30

Open mike-wiese opened 3 years ago

mike-wiese commented 3 years ago

I was trying out the :repository is a string feature, putting :username and :password in the map directly, and I get this NPE. Note that I do not have any ~/.m2/settings.xml file.

Execution error (NullPointerException) at deps-deploy.deps-deploy/get-repo-settings (deps_deploy.clj:131).

It's probably better to use ~/.m2/settings.xml file but it seems like the code ought to allow me to specify things locally or in my ~/.clojure/deps.edn.