harrah/xsbt — Issue #329: External projects cause plugin conflicts
Author: jsuereth
Created: 2012-01-11 00:56:59+00:00
State: open

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!