External projects cause plugin conflicts #329

Closed
harrah opened this Issue Jan 5, 2013 · 1 comment

Projects

None yet

1 participant

@harrah
Owner
harrah commented Jan 5, 2013

If I have more than one source dependency on an external project, and both projects make use of an SBT plugin, then the plugin versions are not shared and the classloader magix become as black as the dark heart of MORDOR (notice that resembles MURDER).

Here's a simple build which demonstrates the issue:

object SbtPluginProjects extends Build with rewire.DependencyAnalysis {
  val root = Project("sbt-plugins", file(".")) aggregate(appengine, assembly)

  lazy val appengine = RootProject(uri("git://github.com/sbt/sbt-appengine.git"))
  lazy val assembly = RootProject(uri("git://github.com/sbt/sbt-assembly.git"))
}

If you know of a workaround, please list it here!

@harrah
Owner
harrah commented Jan 5, 2013

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#329 for the full issue and to comment.

@harrah harrah closed this Jan 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment