如何配置Sonatype Nexus以允许使用sbt插件?

4
当我们发布插件时,出现了以下情况:
[info] Done packaging.
[trace] Stack trace suppressed: run last *:publish for the full output.
[error] (*:publish) java.io.IOException: PUT operation to URL https://nexus.mycompany.com/repository/maven-snapshots/com/foo/foo-sbt-plugin_2.10_0.13/1.0.0-SNAPSHOT/foo-sbt-plugin-1.0.0-SNAPSHOT.pom failed with status code 400: Invalid path for a Maven 2 repository

我们使用以下步骤设置插件:
sbtPlugin := true
publishMavenStyle := true
1个回答

11

2
我刚刚花了六个小时来解决这个问题。感谢你记录下来! - Brian Topping

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接