因此,我在工作中尝试使用deps.edn,但我们有一个私有 Maven 仓库中的工件,在leinigen中,我们只需像这样指定 Maven 仓库
`:repositories [["my.datomic.com" {:url "https://my.datomic.com/repo"
:username [:gpg :env/mydatomic_username]
:password [:gpg :env/mydatomic_password]}]
["releases" {:url "https://nexus.example.com/content/repositories/releases"
:sign-releases false
:username [:gpg :env/nexus_write_username]
:password [:gpg :env/nexus_write_password]}]
["snapshots" {:url "https://nexus.example.com/content/repositories/snapshots"
:username [:gpg :env/nexus_write_username]
:password [:gpg :env/nexus_write_password]}]]`
我知道可以通过:mvn/repos
在deps.edn中指定 Maven 仓库,但我看不到从环境变量获取用户名和密码的方法