如何配置sonatype nexus以允许sbt插件?

时间:2017-02-01 22:46:13

标签: 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-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 个答案:

答案 0 :(得分:8)