delete dependency-management/inherit-repo test

repository used in the test doesn't exist anymore and project delegation is deprecated
This commit is contained in:
Mark Harrah 2013-12-10 11:59:27 -05:00
parent 48fb98f2d1
commit 82dcf8d250
3 changed files with 0 additions and 42 deletions

View File

@ -1 +0,0 @@
externalResolvers := ("Extra Test Repository" at "http://dev.camptocamp.com/files/m2_repo/") :: Nil

View File

@ -1,19 +0,0 @@
import sbt._
import Keys._
object TestProject extends Build
{
override lazy val settings = super.settings ++ Seq(
externalResolvers := Nil,
autoScalaLibrary := false,
ivyScala := None,
ivyPaths <<= baseDirectory( dir => new IvyPaths(dir, Some(dir / "ivy-home")))
)
lazy val root = Project("root", file(".")) aggregate(a, b)
lazy val a = Project("a", file("a")) delegateTo(b) settings(
libraryDependencies += "com.camptocamp.tl.caltar" % "core" % "0.5" intransitive()
)
lazy val b = Project("b", file("b"))
}

View File

@ -1,22 +0,0 @@
> set logLevel := Level.Debug
# This should fail because project A declares a dependency that exists in an extra repository, which we haven't declared
-> show update
# Copy the project definition with the extra repository declared in project B and with A delegating to B and reload
$ copy-file changes/WithRepository.sbt b/build.sbt
> reload
# Try updating again, which should work because the repository declared in B should be shared by A
> update
# Copy the project definition with the extra repository declared in both A and B and reload
$ copy-file changes/WithRepository.sbt a/build.sbt
> reload
> update
# Copy the project definition with the extra repository declared in A only and reload
$ delete b/build.sbt
> reload
> update