scala - 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 成功推送到这个存储库。你能帮忙吗?
解决方案
推荐阅读
- php - 在 WooCommerce 产品的挂钩函数中检查产品类别
- c# - 一定数量的卖家不会堆叠
- python - Pyspark:使用一个df中的一行来过滤和选择另一个
- powershell - 执行 Powershell 命令时出现问题
- python - Keras:InvalidArgumentError:不兼容的形状:[64,7,7,1] 与 [64,1] 尝试使用 SVM 分类器添加 ResNet 时
- apache-kafka - Spring Cloud Stream Kafka 复制因子和运行时的保留问题
- django - 在字段名 Django 旁边放置 (?) 工具提示
- javascript - 函数中的NodeJS无效语法
- java - QueryDSL fetchJoin 不获取数据
- r - 与 data.table 的 fread 相关的 cmdstanr 问题