mirror of https://github.com/sbt/sbt.git
Accept "groupId", "artifactId", "version" properties
This commit is contained in:
parent
869d7c628e
commit
ad80e1482c
|
|
@ -376,7 +376,11 @@ object Resolution {
|
|||
// although I can find no mention of them in any manual / spec
|
||||
"pom.groupId" -> project.module.organization,
|
||||
"pom.artifactId" -> project.module.name,
|
||||
"pom.version" -> project.version
|
||||
"pom.version" -> project.version,
|
||||
// Required by some dependencies too (org.apache.directory.shared:shared-ldap:0.9.19 in particular)
|
||||
"groupId" -> project.module.organization,
|
||||
"artifactId" -> project.module.name,
|
||||
"version" -> project.version
|
||||
) ++ project.properties ++ Seq(
|
||||
"project.groupId" -> project.module.organization,
|
||||
"project.artifactId" -> project.module.name,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
antlr:antlr:2.7.7:compile
|
||||
commons-collections:commons-collections:3.2.1:compile
|
||||
commons-lang:commons-lang:2.4:compile
|
||||
org.apache.directory.shared:shared-asn1:0.9.19:compile
|
||||
org.apache.directory.shared:shared-i18n:0.9.19:compile
|
||||
org.apache.directory.shared:shared-ldap:0.9.19:compile
|
||||
org.apache.directory.shared:shared-ldap-constants:0.9.19:compile
|
||||
org.slf4j:slf4j-api:1.5.10:compile
|
||||
|
|
@ -579,6 +579,13 @@ object CentralTests extends TestSuite {
|
|||
assert(urls == expectedZipArtifactUrls)
|
||||
}
|
||||
}
|
||||
|
||||
'groupIdVersionProperties - {
|
||||
resolutionCheck(
|
||||
Module("org.apache.directory.shared", "shared-ldap"),
|
||||
"0.9.19"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue