Plugins built from source should work right away because they will be automatically rebuilt by sbt. Plugins declared as binary dependencies must be compiled against the same version of sbt that is running.
Thanks,
Mark
[1] http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.10.1/sbt-launch.jar
[2] https://github.com/harrah/xsbt/wiki/Changes
[3] https://github.com/harrah/xsbt/issues
[4] git log --oneline v0.10.0..v0.10.1
[5] https://github.com/harrah/xsbt/compare/v0.10.0...v0.10.1
resolvers += {
val ivyPattern =
"[organisation]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]"
val ivySbtPluginPattern =
"[organisation]/[module]/[sbtversion]/[revision]/[type]s/[artifact](-[classifier])-[revision].[ext]"
val patterns = Patterns(false, ivyPattern, ivySbtPluginPattern)
Resolver.url("Typesafe Ivy Repository",
url("http://repo.typesafe.com/typesafe/ivy-releases"))(patterns)
}
in plugins/build.sbt got me working again (with the first pattern for
the sbt related dependencies and the second for sbteclipse).
Pete
> --
> You received this message because you are subscribed to the Google Groups
> "simple-build-tool" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/simple-build-tool/-/2xDj6pqb8xEJ.
I ran into the same problem yesterday with 0.10.0. It looks like the
Typesafe repository has been reorganized a bit with most things moving
from Maven to Ivy.
It should still be added:
https://github.com/harrah/xsbt/blob/0.10/main/Defaults.scala#L590
It is possible the sbteclipse repository definition is messing
something up. Can you post the full log (you can send it directly to
me if you prefer)?
-Mark
It is possible the sbteclipse repository definition is messing
something up.
Pete
> --
> You received this message because you are subscribed to the Google Groups
> "simple-build-tool" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/simple-build-tool/-/ZvImYlyDU0AJ.
If you are asking whether it needs to be manually added, I hope not.
That would be a bug. I'm pretty sure it has always been automatically
added, though.
-Mark
If you can reproduce in the same manner using 0.10.1, please open a bug.
-Mark
Also note that this worked fine before. In fact, I was using a nightly from a few days before 0.10.1 and it worked fine. I think it should be easy to reproduce with a project that depends on xsbt-web-plugin. I'll try to create a simple project that shows the issue as soon as I have some free time and will file a bug report (if no-one beats me to it, of course).