You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2022/09/15 16:58:42 UTC
[solr] branch branch_9x updated: SOLR-15342: SolrJ-ZooKeeper should be opt-out in 9x. (#1013)
This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 80889178990 SOLR-15342: SolrJ-ZooKeeper should be opt-out in 9x. (#1013)
80889178990 is described below
commit 80889178990369617bb5edb0b284ad24e34d5ad3
Author: David Smiley <ds...@salesforce.com>
AuthorDate: Thu Sep 15 12:58:36 2022 -0400
SOLR-15342: SolrJ-ZooKeeper should be opt-out in 9x. (#1013)
Meaning a user who doesn't want it has to opt-out. For backwards compatibility when a Maven POM is used by a SolrJ user. 10x is opt-in.
---
solr/solrj/build.gradle | 3 +++
1 file changed, 3 insertions(+)
diff --git a/solr/solrj/build.gradle b/solr/solrj/build.gradle
index 36d4035c84f..ceb76010aa6 100644
--- a/solr/solrj/build.gradle
+++ b/solr/solrj/build.gradle
@@ -41,6 +41,9 @@ dependencies {
implementation 'org.apache.httpcomponents:httpclient'
implementation 'org.apache.httpcomponents:httpcore'
+ // In 9.x, ending in 10, we depend on SolrJ modules. Users can opt-out.
+ runtimeOnly project(':solr:solrj-zookeeper')
+
testImplementation project(':solr:test-framework')
testImplementation project(':solr:core')
testImplementation project(':solr:solrj')