Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Use a fixed Lucene prerelease from Apache Nightlies server (#148)

Uwe Schindlerabc87c738d52
diff --git a/gradle/defaults.gradle b/gradle/defaults.gradle
index f6cebd57c03..a1e1aad833e 100644
--- a/gradle/defaults.gradle
+++ b/gradle/defaults.gradle
@@ -19,13 +19,15 @@ allprojects {
apply plugin: 'base'
group "org.apache"
+
+ def lucenePrereleaseBuild = '5'
// Repositories to fetch dependencies from.
repositories {
mavenCentral()
maven {
- name "ApacheSnapshots"
- url 'https://repository.apache.org/content/repositories/snapshots/'
+ name "LucenePrerelease${lucenePrereleaseBuild}"
+ url "https://nightlies.apache.org/solr/lucene-prereleases/${lucenePrereleaseBuild}/"
}
}
diff --git a/help/dependencies.txt b/help/dependencies.txt
index 318b6887912..f84a04dbc67 100644
--- a/help/dependencies.txt
+++ b/help/dependencies.txt
@@ -84,6 +84,30 @@ tree of all module dependencies and maybe exclude transitive
dependencies of foo.bar:baz that we won't need.
+Update Lucene prerelease
+------------------------
+
+The main branch of Apache Solr uses a prerelease of Apache Lucene that
+is published by ASF Jenkins on:
+ https://nightlies.apache.org/solr/lucene-prereleases/
+
+If you want to upgrade Lucene to a newer build proceed like the following:
+
+- Go to https://ci-builds.apache.org/job/Solr/job/Lucene-prerelease-main/
+- Log in with ASF account
+- Press on "build now" on left side
+- Wait until build is finished.... (can take long time, if other builds are
+ queued)
+- remember the build number of Jenkins (left side, first build in list,
+ prefixed by '#')
+- Edit ./versions.props and change Lucene's version to '9.0.0-prereleaseX',
+ with 'X' is the jenkins build number
+- Edit ./gradle/defaults.gradle and change jenkins build number, too
+ (this directs the repository to the one created by latest build):
+ def lucenePrereleaseBuild = 'X'
+- Run: gradlew --write-locks (as described before)
+
+
Inspecting current dependencies
-------------------------------
diff --git a/versions.lock b/versions.lock
index 8e591959652..17ca56d596a 100644
--- a/versions.lock
+++ b/versions.lock
@@ -129,32 +129,32 @@ org.apache.kerby:kerby-util:1.0.1 (2 constraints: 6518bdb6)
org.apache.logging.log4j:log4j-api:2.13.2 (4 constraints: d033f2b0)
org.apache.logging.log4j:log4j-core:2.13.2 (2 constraints: 0d16b224)
org.apache.logging.log4j:log4j-slf4j-impl:2.13.2 (1 constraints: 3a053a3b)
-org.apache.lucene:lucene-analysis-common:9.0.0-SNAPSHOT (10 constraints: ceb88a15)
-org.apache.lucene:lucene-analysis-icu:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-analysis-kuromoji:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-analysis-morfologik:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-analysis-nori:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-analysis-opennlp:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-analysis-phonetic:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-analysis-smartcn:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-analysis-stempel:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-backward-codecs:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-classification:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-codecs:9.0.0-SNAPSHOT (3 constraints: 6a2dc858)
-org.apache.lucene:lucene-core:9.0.0-SNAPSHOT (26 constraints: 85d3bd4f)
-org.apache.lucene:lucene-expressions:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-grouping:9.0.0-SNAPSHOT (2 constraints: 161b3e83)
-org.apache.lucene:lucene-highlighter:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-join:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-memory:9.0.0-SNAPSHOT (1 constraints: 3212661c)
-org.apache.lucene:lucene-misc:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-queries:9.0.0-SNAPSHOT (5 constraints: b950e57c)
-org.apache.lucene:lucene-queryparser:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-sandbox:9.0.0-SNAPSHOT (2 constraints: 0d1a012f)
-org.apache.lucene:lucene-spatial-extras:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-spatial3d:9.0.0-SNAPSHOT (1 constraints: 5513a95c)
-org.apache.lucene:lucene-suggest:9.0.0-SNAPSHOT (1 constraints: a807f66f)
-org.apache.lucene:lucene-test-framework:9.0.0-SNAPSHOT (1 constraints: a807f66f)
+org.apache.lucene:lucene-analysis-common:9.0.0-prerelease5 (10 constraints: 10cca63a)
+org.apache.lucene:lucene-analysis-icu:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-analysis-kuromoji:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-analysis-morfologik:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-analysis-nori:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-analysis-opennlp:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-analysis-phonetic:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-analysis-smartcn:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-analysis-stempel:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-backward-codecs:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-classification:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-codecs:9.0.0-prerelease5 (3 constraints: 313301b7)
+org.apache.lucene:lucene-core:9.0.0-prerelease5 (26 constraints: a6054f0d)
+org.apache.lucene:lucene-expressions:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-grouping:9.0.0-prerelease5 (2 constraints: f01ea971)
+org.apache.lucene:lucene-highlighter:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-join:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-memory:9.0.0-prerelease5 (1 constraints: 1f14475c)
+org.apache.lucene:lucene-misc:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-queries:9.0.0-prerelease5 (5 constraints: 5a5a7a89)
+org.apache.lucene:lucene-queryparser:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-sandbox:9.0.0-prerelease5 (2 constraints: e71d8a14)
+org.apache.lucene:lucene-spatial-extras:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-spatial3d:9.0.0-prerelease5 (1 constraints: 4215f39f)
+org.apache.lucene:lucene-suggest:9.0.0-prerelease5 (1 constraints: 95093990)
+org.apache.lucene:lucene-test-framework:9.0.0-prerelease5 (1 constraints: 95093990)
org.apache.opennlp:opennlp-tools:1.9.1 (2 constraints: a1164d13)
org.apache.pdfbox:fontbox:2.0.17 (1 constraints: 3c05323b)
org.apache.pdfbox:jempbox:1.8.16 (1 constraints: 42054b3b)
diff --git a/versions.props b/versions.props
index bb2e9b439ee..aa429c0e057 100644
--- a/versions.props
+++ b/versions.props
@@ -86,7 +86,7 @@ org.apache.httpcomponents:httpmime=4.5.10
org.apache.james:apache-mime4j*=0.8.3
org.apache.kerby:*=1.0.1
org.apache.logging.log4j:*=2.13.2
-org.apache.lucene:*=9.0.0-SNAPSHOT
+org.apache.lucene:*=9.0.0-prerelease5
org.apache.opennlp:opennlp-tools=1.9.1
org.apache.pdfbox:*=2.0.17
org.apache.pdfbox:jempbox=1.8.16