我成功地向 Jfrog 发布了一个 sbt 存储库。
我还成功地从一个测试项目中使用了这个 repo,其中 build.sbt 是
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
resolvers += "Artifactory" at "https://hyperbot.jfrog.io/artifactory/hyperbot/"
libraryDependencies += "com.example" % "scalautils_2.13" % "0.1.0-SNAPSHOT"
但是,如果我没有在 build.sbt 中提交我的凭据,那么 build 会返回 401 unathorized error 来解决"com.example" % "scalautils_2.13" % "0.1.0-SNAPSHOT"
依赖问题。
如果我尝试打开工件 url
在浏览器中,它要求提供凭据(如果我提供凭据,则会提供工件)。
在此存储库中,匿名用户的权限设置为读取。
我可以做些什么来允许匿名访问这个工件?