Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions changelog/unreleased/PR#4555-increment_opennlp_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc
title: Increment OpenNLP to 1.9.5 fixing some CVE's
type: dependency_update # added, changed, fixed, deprecated, removed, dependency_update, security, other
authors:
- name: Eric Pugh
links:
- name: PR#4555
url: https://github.com/apache/solr/pull/4555
1 change: 0 additions & 1 deletion solr/licenses/opennlp-tools-1.9.4.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions solr/licenses/opennlp-tools-1.9.5.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
15fd24951658ae6cd2bc9ccc7f005a8bbde7b2c7
1 change: 0 additions & 1 deletion solr/modules/analysis-extras/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencies {
runtimeOnly 'org.apache.lucene:lucene-analysis-smartcn'
runtimeOnly 'org.apache.lucene:lucene-analysis-stempel'
implementation 'org.apache.lucene:lucene-core'
// NOTE: Need to stay on same version of opennlp-tools as lucene-analysis-opennlp
implementation 'org.apache.opennlp:opennlp-tools'
implementation 'org.slf4j:slf4j-api'

Expand Down
1 change: 0 additions & 1 deletion solr/modules/langid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dependencies {
}
implementation 'commons-io:commons-io'
implementation 'com.cybozu.labs:langdetect'
// NOTE: Currently not defined in versions.props since we need to stay on same version as Lucene due to opennlp
implementation 'org.apache.opennlp:opennlp-tools'
implementation 'org.slf4j:slf4j-api'

Expand Down
2 changes: 1 addition & 1 deletion solr/solr-ref-guide/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ asciidoc:
dep-version-dropwizard: '4.2.26'
dep-version-hadoop: '3.4.1'
dep-version-log4j: '2.21.0'
dep-version-opennlp: '1.9.4'
dep-version-opennlp: '1.9.5'
dep-version-tika: '1.28.5'
dep-version-zookeeper: '3.9.4'
dep-version-lucene: '9.12.3'
Expand Down
2 changes: 1 addition & 1 deletion versions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ org.apache.lucene:lucene-spatial-extras:9.12.3 (1 constraints: 4105623b)
org.apache.lucene:lucene-spatial3d:9.12.3 (1 constraints: ee109eca)
org.apache.lucene:lucene-suggest:9.12.3 (1 constraints: 4105623b)
org.apache.lucene:lucene-test-framework:9.12.3 (1 constraints: 4105623b)
org.apache.opennlp:opennlp-tools:1.9.4 (1 constraints: 9811cee0)
org.apache.opennlp:opennlp-tools:1.9.5 (2 constraints: a8161c14)
org.apache.poi:poi:5.5.1 (2 constraints: db0f56a8)
org.apache.poi:poi-ooxml:5.5.1 (1 constraints: 0d051436)
org.apache.poi:poi-ooxml-lite:5.5.1 (1 constraints: cf0aa7cb)
Expand Down
2 changes: 2 additions & 0 deletions versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ org.apache.kafka:*=3.9.2
org.apache.kerby:*=2.1.0
org.apache.logging.log4j:*=2.26.0
org.apache.lucene:*=9.12.3
# Override the OpenNLP tools version that Solr would otherwise inherit from Lucene
org.apache.opennlp:opennlp-tools=1.9.5
org.apache.poi:*=5.5.1
org.apache.tika:*=3.3.0
org.apache.tomcat:annotations-api=6.0.53
Expand Down
Loading