This is an automated email from the ASF dual-hosted git repository.
ishan pushed a commit to branch jira/solr-17892-fix-precommit
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/jira/solr-17892-fix-precommit
by this push:
new 2f329180129 Permit unused backward codecs, esp for transitive
dependencies
2f329180129 is described below
commit 2f329180129f75ef5a95eccf44b716652995c0ee
Author: Ishan Chattopadhyaya <[email protected]>
AuthorDate: Sat Nov 1 13:12:37 2025 +0530
Permit unused backward codecs, esp for transitive dependencies
---
solr/modules/cuvs/build.gradle | 3 +++
solr/modules/cuvs/gradle.lockfile | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/solr/modules/cuvs/build.gradle b/solr/modules/cuvs/build.gradle
index 23dd35589bb..218688cdab1 100644
--- a/solr/modules/cuvs/build.gradle
+++ b/solr/modules/cuvs/build.gradle
@@ -33,5 +33,8 @@ dependencies {
testImplementation libs.apache.lucene.testframework
testImplementation libs.junit.junit
testImplementation libs.commonsio.commonsio
+
+ // lucene-backward-codecs is a transitive dependency from cuvs-lucene but
required in lockfile
+ permitUnusedDeclared libs.apache.lucene.backward.codecs
}
diff --git a/solr/modules/cuvs/gradle.lockfile
b/solr/modules/cuvs/gradle.lockfile
index 0c49beb1506..54a1741381c 100644
--- a/solr/modules/cuvs/gradle.lockfile
+++ b/solr/modules/cuvs/gradle.lockfile
@@ -97,10 +97,10 @@
org.apache.lucene:lucene-analysis-common:10.3.1=compileClasspath,jarValidation,r
org.apache.lucene:lucene-analysis-kuromoji:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-nori:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
org.apache.lucene:lucene-analysis-phonetic:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
-org.apache.lucene:lucene-backward-codecs:10.3.1=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testCompileClasspath,testRuntimeClasspath
+org.apache.lucene:lucene-backward-codecs:10.3.1=compileClasspath,jarValidation,permitUnusedDeclared,runtimeClasspath,runtimeLibs,solrPlatformLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-classification:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
org.apache.lucene:lucene-codecs:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
-org.apache.lucene:lucene-core:10.3.1=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testCompileClasspath,testRuntimeClasspath
+org.apache.lucene:lucene-core:10.3.1=compileClasspath,jarValidation,permitUnusedDeclared,runtimeClasspath,runtimeLibs,solrPlatformLibs,testCompileClasspath,testRuntimeClasspath
org.apache.lucene:lucene-expressions:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
org.apache.lucene:lucene-facet:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
org.apache.lucene:lucene-grouping:10.3.1=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
@@ -167,4 +167,4 @@
org.slf4j:jcl-over-slf4j:2.0.17=jarValidation,runtimeClasspath,runtimeLibs,solrP
org.slf4j:jul-to-slf4j:2.0.17=solrPlatformLibs
org.slf4j:slf4j-api:2.0.17=compileClasspath,jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testCompileClasspath,testRuntimeClasspath
org.xerial.snappy:snappy-java:1.1.10.8=jarValidation,runtimeClasspath,runtimeLibs,solrPlatformLibs,testRuntimeClasspath
-empty=apiHelper,apiHelperTest,compileOnlyHelper,compileOnlyHelperTest,missingdoclet,packaging,permitAggregatorUse,permitTestAggregatorUse,permitTestUnusedDeclared,permitTestUsedUndeclared,permitUnusedDeclared,permitUsedUndeclared,signatures
+empty=apiHelper,apiHelperTest,compileOnlyHelper,compileOnlyHelperTest,missingdoclet,packaging,permitAggregatorUse,permitTestAggregatorUse,permitTestUnusedDeclared,permitTestUsedUndeclared,permitUsedUndeclared,signatures