Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem downloading the plugin from Artifactory #280

Closed
ghost opened this issue Feb 13, 2014 · 3 comments
Closed

Problem downloading the plugin from Artifactory #280

ghost opened this issue Feb 13, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 13, 2014

Hi,

Here is the error reported by Artifactory:

2014-02-13 08:46:08,383 [http-bio-8000-exec-2919] [ERROR](o.a.r.HttpRepo :296) - repo.scala-sbt.org: Failed to download 'http://oss.sonatype.org/content/repositories/snapshots/com/github/mpeltonen/sbt-idea_2.10_0.13/1.7.0-SNAPSHOT/sbt-idea-1.7.0-SNAPSHOT.pom'. Received status code 200 and caught exception: The target deployment path 'com/github/mpeltonen/sbt-idea_2.10_0.13/1.7.0-SNAPSHOT/sbt-idea-1.7.0-SNAPSHOT.pom' does not match the POM's expected path prefix 'com/github/mpeltonen/sbt-idea/1.7.0-SNAPSHOT'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path.
2014-02-13 08:46:08,387 [http-bio-8000-exec-2919] ERROR - Failed to transform pom file:The target deployment path 'com/github/mpeltonen/sbt-idea_2.10_0.13/1.7.0-SNAPSHOT/sbt-idea-1.7.0-SNAPSHOT.pom' does not match the POM's expected path prefix 'com/github/mpeltonen/sbt-idea/1.7.0-SNAPSHOT'. Please verify your POM content for correctness and make sure the source path is a valid Maven repository root path.

@mpeltonen
Copy link
Owner

If I understood correctly, this has nothing to do with sbt-idea specifically, but is because of the way sbt appends versions to artifactId in path, and Artifactory does not seem to like it?

Would the workaround mentioned in the last message of this thread work: https://groups.google.com/forum/#!msg/simple-build-tool/HP6yvP2bGO4/WbN1IOAtoCwJ ("suppress POM consistency checks" setting)?

@ghost
Copy link
Author

ghost commented Feb 14, 2014

Yes, it solves the problem. This is really good because SBT project import by IntelliJ is really broken, so your plugin is the only way to work with SBT projects in IntelliJ. Thanks!

@mpeltonen
Copy link
Owner

Ok, great & thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant