Test that artificial root isn't published.

This commit is contained in:
Dale Wijnand 2015-02-22 04:17:11 +00:00 committed by Eugene Yokota
parent 58a2e634e2
commit a770b9818f
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,10 @@
val commonSettings = Seq(
organization := "com.example",
version := "0.1.0",
ivyPaths := new IvyPaths((baseDirectory in LocalRootProject).value, Some((target in LocalRootProject).value / "ivy-cache"))
)
lazy val app = (project in file("app")).
settings(commonSettings: _*)
commonSettings

View File

@ -0,0 +1,4 @@
> publishLocal
$ exists target/ivy-cache/local/com.example/app_2.10/0.1.0/poms/app_2.10.pom
$ exists target/ivy-cache/local/com.example/app_2.10/0.1.0/jars/app_2.10.jar
$ absent target/ivy-cache/local/com.example/default-root_2.10/0.1.0/ivys/ivy.xml