Can't resolve plugin due to invalid pom
joprice opened this issue · 2 comments
joprice commented
I am trying to resolve this plugin via Artifactory, and getting the following error:
"errors" : [ {
"status" : 404,
"message" : "Failed to transform pom file: The target deployment path 'com/lightbend/paradox/sbt-paradox_2.12_1.0/0.4.4/sbt-paradox-0.4.4.pom' does not match the POM's expected path prefix 'com/lightbend/paradox/sbt-paradox/0.4.4'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path."
} ]
}```
joprice commented
Sbt plugins are usually published and resolved using ivy patterns and don't generate valid poms otherwise. Looks like other people have hit this, e.g. ShiftLeftSecurity/sbt-ci-release-early#2
raboof commented
The issue you link suggests 'The work around seems to be to use an ivy package for SBT plugins'.
Do I understand correctly that we're currently publishing the sbt-paradox plugin directly to maven central, and this issue would be fixed if we instead published it to bintray (which is more common for sbt plugins anyway)?