boot-clj / boot

Build tooling for Clojure.
https://boot-clj.github.io/
Eclipse Public License 1.0
1.75k stars 180 forks source link

Boot should validate Maven central deployment #626

Open arichiardi opened 7 years ago

arichiardi commented 7 years ago

Hello boot folks!

An idea I had while trying to deploy to Maven Central today is that we could probably detect the target repository, which usually comes in a :repo-map like:

:repo-map {:url "https://oss.sonatype.org/service/local/staging/deploy/maven2"
           :username username
           :password password}}

...and if we detect that it is the staging Maven Central repo, we make sure that the pom has all the requirements.