Pull snapshots prior to 6.3 from elastic maven (elastic/x-pack-elasticsearch#3900)
Snapshot versions before 6.3 do not exist in the public, so they need to be pulled from snapshots.elastic.co/maven. Original commit: elastic/x-pack-elasticsearch@3cc94add91
This commit is contained in:
parent
7ee5ef333c
commit
f6b0de2536
|
@ -77,7 +77,7 @@ subprojects {
|
|||
|
||||
bwcVersions.snapshotProjectNames.each { snapshotName ->
|
||||
Version snapshot = bwcVersions.getSnapshotForProject(snapshotName)
|
||||
if (snapshot != null ) {
|
||||
if (snapshot != null && snapshot.onOrAfter("6.3.0")) {
|
||||
String snapshotProject = ":x-pack-elasticsearch:plugin:bwc:${snapshotName}"
|
||||
project(snapshotProject).ext.bwcVersion = snapshot
|
||||
ext.projectSubstitutions["org.elasticsearch.plugin:x-pack:${snapshot}"] = snapshotProject
|
||||
|
|
|
@ -274,5 +274,8 @@ subprojects {
|
|||
maven {
|
||||
url "https://artifacts.elastic.co/maven"
|
||||
}
|
||||
maven {
|
||||
url "https://snapshots.elastic.co/maven"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -293,5 +293,8 @@ subprojects {
|
|||
maven {
|
||||
url "https://artifacts.elastic.co/maven"
|
||||
}
|
||||
maven {
|
||||
url "https://snapshots.elastic.co/maven"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue