Skip to content

Commit 41ada76

Browse files
authored
Merge branch 'main' into bugfix/gc-configuration
2 parents 0fca30f + 76cf62e commit 41ada76

File tree

271 files changed

+3929
-6065
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+3929
-6065
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Solr is the blazing-fast, open source, multi-modal search platform built on [Apa
2222
It powers full-text, vector, and geospatial search at many of the world's largest organizations.
2323

2424
[![Build Status](https://ci-builds.apache.org/job/Solr/job/Solr-Artifacts-main/badge/icon?subject=Solr%20Artifacts)](https://ci-builds.apache.org/job/Solr/job/Solr-Artifacts-main/)
25-
[![Build Status](https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/badge/icon?subject=Solr%20Check)](https://ci-builds.apache.org/job/Solr/job/Solr-Check-main/)
25+
[![Build Status](https://ci-builds.apache.org/job/Solr/job/Solr-Lint-main/badge/icon?subject=Solr%20Lint)](https://ci-builds.apache.org/job/Solr/job/Solr-Lint-main/)
2626

2727
For a complete description of the Solr project, team composition, source
2828
code repositories, and other details, please see the Solr web site at

build-tools/build-infra/src/main/java/org/apache/lucene/gradle/WrapperDownloader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public static void main(String[] args) {
5555

5656
public static void checkVersion() {
5757
int major = Runtime.getRuntime().version().feature();
58-
if (major < 11 || major > 21) {
58+
if (major < 21 || major > 23) {
5959
throw new IllegalStateException(
60-
"java version must be between 11 and 21, your version: " + major);
60+
"java version must be between 21 and 23, your version: " + major);
6161
}
6262
}
6363

build-tools/scriptDepVersions.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ext {
2525
"min-solrj-java-version" : "17",
2626
"apache-rat": "0.15",
2727
"commons-codec": "1.16.0",
28-
"ecj": "3.36.0",
28+
"ecj": "3.39.0",
2929
"javacc": "7.0.12",
3030
"jgit": "6.7.0.202309050840-r",
3131
"flexmark": "0.64.8",

crave.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

dev-docs/asf-jenkins.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ This file aims to document our [ASF Jenkins](https://ci-builds.apache.org/job/So
1010
We run a number of jobs on Jenkins, each validating an overlapping set of concerns:
1111

1212
* `Solr-Artifacts-*` - daily jobs that run `./gradlew assemble` to ensure that build artifacts (except docker images) can be created successfully
13-
* `Solr-check-*` - "hourly" jobs that run all project tests and static analysis (i.e. `test`, `integrationTest`, and `check`)
13+
* `Solr-Lint-*` - daily jobs that run static analysis (i.e. `precommit` and `check -x test`) on a branch
14+
* `Solr-Test-*` - "hourly" jobs that run all (non-integration) tests (i.e. `./gradlew test`)
15+
* `Solr-TestIntegration-*` - daily jobs that run project integration tests (i.e. `./gradlew integrationTests`)
1416
* `Solr-Docker-Nightly-*` - daily jobs that `./gradlew testDocker dockerPush` to validate docker image packaging. Snapshot images are pushed to hub.docker.com
15-
* `Solr-reference-guide-*` - hourly jobs that build the Solr reference guide via `./gradlew checkSite` and push the resulting artifact to the staging/preview site `nightlies.apache.org`
17+
* `Solr-reference-guide-*` - daily jobs that build the Solr reference guide via `./gradlew checkSite` and push the resulting artifact to the staging/preview site `nightlies.apache.org`
1618
* `Solr-Smoketest-*` - daily jobs that produce a snapshot release (via the `assembleRelease` task) and run the release smoketester
1719

1820
Most jobs that validate particular build artifacts are run "daily", which is sufficient to prevent any large breaks from creeping into the build.
19-
2021
On the other hand, jobs that run tests are triggered "hourly" in order to squeeze as many test runs as possible out of our Jenkins hardware.
2122
This is a necessary consequence of Solr's heavy use of randomization in its test-suite.
2223
"Hourly" scheduling ensures that a test run is either currently running or in the build queue at all times, and enables us to get the maximum data points from our hardware.

gradle/documentation/render-javadoc.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ allprojects {
3232
missingdoclet "org.apache.solr.tools:missing-doclet"
3333
}
3434

35-
ext {
35+
project.ext {
3636
relativeDocPath = project.path.replaceFirst(/:\w+:/, "").replace(':', '/')
3737
}
3838

gradle/globals.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ allprojects {
3737
// so :solr:core will have solr-core.jar, etc.
3838
project.archivesBaseName = project.path.replaceAll("^:", "").replace(':', '-')
3939

40-
ext {
40+
project.ext {
4141
// Utility method to support passing overrides via -P or -D.
4242
propertyOrDefault = { propName, defValue ->
4343
def result

gradle/node.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ configure([project(":solr:packaging"), project(":solr:solr-ref-guide"), project(
3434
}
3535
}
3636

37-
ext {
37+
project.ext {
3838
rootNodeDir = "$rootDir/.gradle/node"
3939
nodeProjectDir = file("$rootNodeDir/$project.name")
4040
}

gradle/solr/packaging.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
configure(allprojects.findAll {project -> project.path.startsWith(":solr:modules:") || project.path == ":solr:prometheus-exporter" || project.path == ":solr:cross-dc-manager" }) {
4040
plugins.withType(JavaPlugin) {
41-
ext {
41+
project.ext {
4242
packagingDir = file("${buildDir}/packaging")
4343
if (project.path.startsWith(":solr:prometheus-exporter") || project.path.startsWith(":solr:cross-dc-manager")) {
4444
deps = packagingDir

gradle/testing/alternative-jdk-support.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ if (jvmGradle != jvmCurrent) {
8787

8888
// Set up root project's properties.
8989
rootProject.ext.runtimeJavaHome = jvmCurrent.javaHome
90-
rootProject.ext.runtimeJavaVersion = jvmDetector.getMetadata(new InstallationLocation(jvmCurrent.javaHome, "specific path")).getLanguageVersion()
90+
rootProject.ext.runtimeJavaVersion = jvmDetector.getMetadata(InstallationLocation.userDefined(jvmCurrent.javaHome, "specific path")).getLanguageVersion()
9191
rootProject.ext.usesAltJvm = (jvmGradle != jvmCurrent);
9292

0 commit comments

Comments
 (0)