-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi!
In my project, we're migrating from using maven-central directly to proxy it through artifactory. When artifactory is fetching the pom.xml of sbt-spotless, it fails as the artifact-name apparently is wrong..
the request is as follows:
https://artifactory.acme.com/artifactory/maven-viopt/net/moznion/sbt/sbt-spotless_2.12_1.0/0.1.3/sbt-spotless-0.1.3.pom
which proxies through to
https://repo1.maven.org/maven2/net/moznion/sbt/sbt-spotless_2.12_1.0/0.1.3/sbt-spotless-0.1.3.pom
it gives this message:
{
"errors" : [ {
"status" : 404,
"message" : "Failed to transform pom file: The target deployment path 'net/moznion/sbt/sbt-spotless_2.12_1.0/0.1.3/sbt-spotless-0.1.3.pom' does not match the POM's expected path prefix 'net/moznion/sbt/sbt-spotless/0.1.3'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path."
} ]
}
from looking at the sbt-spotless-0.1.3.pom file, the current artifactId
<artifactId>sbt-spotless</artifactId>
would need to be changed to
<artifactId>sbt-spotless_2.12_1.0</artifactId>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels