spray/sbt-revolver — Issue #6: Two projects with revolver plugin - AttributeKeyID collision
Author: Rogach
Created: 2012-01-21 08:44:14+00:00
State: open

I created a sample empty project, with my usual plugins - revolver among them. Then I pulled an external dependency from github:

object HelloBuild extends Build {
lazy val root = Project(id = "hello", base = file(".")) dependsOn
(RootProject( uri("git://github.com/Rogach/s4gnuplot")))
}

That project is also built with sbt, and also has revolver plugin.

When loading sbt, I got the following error:

[error] AttributeKey ID collisions detected for: 'start'
(sbt.InputTask[cc.spray.revolver.AppProcess],
sbt.InputTask[cc.spray.revolver.AppProcess])

Removing revolver from plugins of sample (outer) project makes everything work.

Is it a bug? Or maybe I am doing something wrong here?