首页 > 解决方案 > SBT 发布:未指定发布的存储库

问题描述

我正在尝试使用命令将带有 SBT 的工件发布到远程 Nexus 存储库sbt publish

我的build.sbt

credentials += Credentials("Sonatype Nexus", "nexus.local", "username", "password")
publishTo := Some("Sonatype Nexus" at "http://nexus.local:8080/repository/releases")

但我收到一个错误:

Repository for publishing is not specified

我使用 Maven 成功推送到这个存储库。你能帮忙吗?

标签: scalasbtnexus

解决方案


推荐阅读