From 47c619c5cec7964b1244a20a5cd379e7efefa197 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sat, 2 Apr 2016 13:02:23 -0400 Subject: Improve cbt's maven resolver to handle variable substitutions for pom xml tag contents --- test/simple/Main.scala | 2 ++ test/simple/build/build.scala | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/simple/Main.scala b/test/simple/Main.scala index 43542ff..1c423ca 100644 --- a/test/simple/Main.scala +++ b/test/simple/Main.scala @@ -1,4 +1,6 @@ import ai.x.diff +import org.eclipse.jgit.lib.Ref +import com.spotify.missinglink.ArtifactLoader object Main extends App{ println(diff.DiffShow.diff("a","b")) } diff --git a/test/simple/build/build.scala b/test/simple/build/build.scala index f3efc19..d3887b3 100644 --- a/test/simple/build/build.scala +++ b/test/simple/build/build.scala @@ -6,7 +6,9 @@ class Build(context: cbt.Context) extends BasicBuild(context){ ScalaDependency("com.typesafe.play", "play-json", "2.4.4"), JavaDependency("joda-time", "joda-time", "2.9.2"), GitDependency("https://github.com/xdotai/diff.git", "2e275642041006ff39efde22da7742c2e9a0f63f"), - // the below tests pom inheritance with dependencyManagement and variable substitution - JavaDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r") + // the below tests pom inheritance with dependencyManagement and variable substitution for pom properties + JavaDependency("org.eclipse.jgit", "org.eclipse.jgit", "4.2.0.201601211800-r"), + // the below tests pom inheritance with variable substitution for pom xml tag contents + JavaDependency("com.spotify", "missinglink-core", "0.1.1") ) ++ super.dependencies } -- cgit v1.2.3