aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-04-02 13:02:23 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-04-02 13:02:23 -0400
commit47c619c5cec7964b1244a20a5cd379e7efefa197 (patch)
tree288bc5f687ff58c8fad3baac7e37c8b679b9b404 /test
parentae0f718c39b1dadf706944b558f0ce5457461b97 (diff)
downloadcbt-47c619c5cec7964b1244a20a5cd379e7efefa197.tar.gz
cbt-47c619c5cec7964b1244a20a5cd379e7efefa197.tar.bz2
cbt-47c619c5cec7964b1244a20a5cd379e7efefa197.zip
Improve cbt's maven resolver to handle variable substitutions for pom xml tag contents
Diffstat (limited to 'test')
-rw-r--r--test/simple/Main.scala2
-rw-r--r--test/simple/build/build.scala6
2 files changed, 6 insertions, 2 deletions
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
}