Basic property substitution in version in POMs

This commit is contained in:
Alexandre Archambault
2016-04-01 01:39:19 +02:00
parent caf69da816
commit d71df26087
3 changed files with 48 additions and 26 deletions
@@ -0,0 +1,2 @@
org.bytedeco:javacpp:1.1:compile
org.bytedeco.javacpp-presets:opencv:3.0.0-1.1:compile
@@ -174,6 +174,15 @@ object CentralTests extends TestSuite {
extraRepo = Some(MavenRepository("https://oss.sonatype.org/content/repositories/public/"))
)
}
'versionProperty - {
// nasty one - in its POM, its version contains "${parent.project.version}"
resolutionCheck(
Module("org.bytedeco.javacpp-presets", "opencv"),
"3.0.0-1.1"
)
}
'parentProjectProperties - {
resolutionCheck(
Module("com.github.fommil.netlib", "all"),