harrah/xsbt — Issue #382: Transitive plugin with extra fails to resolve
Author: eed3si9n
Created: 2012-02-24 12:10:31+00:00
State: open

## steps

I'm using 0.11.2.
Here's what I have in sbt-appengine's build.sbt:

```scala
libraryDependencies <++= (scalaVersion, sbtVersion) { (scalaV, sv) => Seq(
"com.github.siasia" %% "xsbt-web-plugin" % (sv + "-0.2.10"),
"cc.spray" % "sbt-revolver" % "0.6.0" extra("scalaVersion" -> scalaV, "sbtVersion" -> sv)
)}

resolvers += "Maven.org" at "http://repo1.maven.org/maven2"

resolvers += "spray repo" at "http://repo.spray.cc"
```

They can be resolved fine when I am compiling the plugin.

## problem

When sbt-appengine is used from another build, I get error message:

```scala
update: sbt.ResolveException: unresolved dependency: cc.spray#sbt-revolver;0.6.0: not found
```

This can be resolved by adding the resolver explicitly:

```scala
resolvers += "spray repo" at "http://repo.spray.cc"
```

## expectation

The resolver should not be necessary, since it's already in the pom.

## note

- Here's the [pom.xml](https://gist.github.com/1900575).
- Related issue: #212