如何配置sonatype nexus以允许sbt插件?
当发布我们的插件时,我们得到了这个如何配置sonatype nexus以允许sbt插件?,sbt,nexus,sbt-plugin,Sbt,Nexus,Sbt Plugin,当发布我们的插件时,我们得到了这个 [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-plug
[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
通过在nexus admin中将存储库
布局策略
设置为许可
,可以解决此问题
我花了六个小时试图找到这个问题。谢谢你的记录!