Skip to content

Update dependency org.apache.solr:solr-solrj to v10#21

Open
renovate[bot] wants to merge 3 commits into
codelogicfrom
renovate/org.apache.solr-solr-solrj-10.x
Open

Update dependency org.apache.solr:solr-solrj to v10#21
renovate[bot] wants to merge 3 commits into
codelogicfrom
renovate/org.apache.solr-solr-solrj-10.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 18, 2026

This PR contains the following updates:

Package Change Age Confidence
org.apache.solr:solr-solrj (source) 9.9.010.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot had a problem deploying to CodeLogic Scan Env May 18, 2026 21:43 Failure
@CodeLogicAI
Copy link
Copy Markdown
Collaborator

🚀 AI Library Upgrade workflow started

Checkout and dependency detection in progress. You will see further updates as each step completes.

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

📋 Detected Library Changes

Relevant dependency changes were detected. Specialized scans will be initiated shortly.

Direct Dependency Changes

Type Group ID Artifact ID Old Version New Version
MAVEN org.apache.solr solr-solrj 9.9.0 10.0.0

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

🔬 Library scan started

Scanning source branch libraries for upgrade analysis. This may take a few minutes.

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

🚀 Library Upgrade Analysis Initiated

Relevant library changes detected. Specialized scans are being initiated.

📋 Direct Dependency Changes

Type Group ID Artifact ID Old Version New Version
MAVEN org.apache.solr solr-solrj 9.9.0 10.0.0

🔬 Scan Execution Details

  • Application: BroadleafCommerce
  • Scan space: https://github.com/CodeLogicIncEngineering/BroadleafCommerce|renovate/org.apache.solr-solr-solrj-10.x|LibraryUpgradeScanSpace
  • Source scan id: scan-java-sourcelibs-1779140955380

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

Specialized Scans Completed

The specialized library scans have completed successfully. The next step is the comparison process and ticket creation.

The system will now:

  1. Compare the scan results to identify library upgrade impacts
  2. Generate work tickets with detailed migration recommendations

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

🚀 Starting comparison (diff) build...

Building the diff view. Progress updates will follow.

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

CodeLogicAI commented May 18, 2026

📊 Building comparison: step 11 of 11

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

🚀 Starting AI implementation...

Beginning implementation of library upgrade changes. This may take several minutes.

Workflow Status

Step Status
DETECT_DEPENDENCIES ✅ SUCCESS
SPECIALIZED_SCAN ✅ SUCCESS
DIFF_COMPLETE ✅ SUCCESS
TICKET_GENERATION ✅ SUCCESS
TICKET_IMPLEMENTATION ⏳ PENDING
PUSH_CHANGES ⏳ PENDING

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

AI-Generated Work Ticket Suggestions for Library Upgrades (Comparison Completed)


Analysis for Comparison Job: 4f48b465-91fe-4672-a404-0d06c387768a (Diff MVD: b339ef2c-855a-45ea-867b-f60e8235a08c

Analysis completed. No definitive migration tickets were produced.

Proceeding to attempt AI implementation based on the PR diff using the fallback path.

💡 Configure your CI to post build results back to CodeLogic via the Build Pipeline Data API.

Documentation: https://docs.codelogic.com/Send_Build_Info/

This commit addresses the breaking changes introduced in Apache Solr 10.0:

Changes made:
- Reverted incorrect Hibernate orm groupId changes in common/pom.xml back to org.hibernate
- Updated SolrQuery imports from org.apache.solr.client.solrj.SolrQuery to org.apache.solr.client.solrj.request.SolrQuery
- Renamed HttpSolrClient to HttpJettySolrClient across all Solr service classes
- Renamed DelegatingHttpSolrClient class to DelegatingHttpJettySolrClient
- Added solr-solrj-jetty dependency to parent pom.xml
- Updated all references to use new Jetty-based client classes

Known Issues:
- Build currently fails due to solr-solrj-jetty package resolution issues
- The org.apache.solr.solrj.jetty package cannot be found at compile time
- StreamingResponseCallback class location needs verification in Solr 10.0

Note: This represents partial migration progress. The solr-solrj-jetty dependency
may need to be added at the module level or alternative approaches may be needed.
@CodeLogicAI
Copy link
Copy Markdown
Collaborator

📋 Build summary after AI implementation. Claude created a diagnostic report.

Checked locations: output/build-failure.log, work/build-failure.log

Build Failure Log for Solr 10.0 Upgrade

Command: mvn compile -DskipTests -pl :broadleaf-framework
Exit Code: 1

Summary of Failure:

The build is failing because the required Solr 10.0 Jetty classes cannot be found.

Root Cause:

Solr 10.0 requires the solr-solrj-jetty artifact to access HttpJettySolrClient and related classes in the org.apache.solr.solrj.jetty package. While this dependency has been added to the pom.xml, Maven is not properly resolving it, likely because the artifact may need to be added to a specific module's pom.xml rather than just the parent.

Compilation Errors:

  1. package org.apache.solr.solrj.jetty does not exist
  2. cannot find symbol: class HttpJettySolrClient
  3. cannot find symbol: class StreamingResponseCallback

Affected Files:

  • DelegatingHttpJettySolrClient.java
  • SolrConfiguration.java

Resolution Needed:

  1. Verify that solr-solrj-jetty:10.0.0 is properly included in dependencies
  2. Check if the dependency needs to be added to specific module pom.xml files
  3. Alternatively, consider using CloudSolrClient instead of HttpJettySolrClient if appropriate for the use case

Build Output (last 200 lines):

[INFO] Compiling 763 source files with javac [debug parameters release 17] to target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /work/core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/search/service/solr/DelegatingHttpJettySolrClient.java:[25,36] cannot find symbol
symbol: class StreamingResponseCallback
location: package org.apache.solr.client.solrj
[ERROR] /work/core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/search/service/solr/DelegatingHttpJettySolrClient.java:[27,35] package org.apache.solr.solrj.jetty does not exist
[ERROR] /work/core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/search/service/solr/DelegatingHttpJettySolrClient.java:[62,21] cannot find symbol
symbol: class HttpJettySolrClient
location: class org.broadleafcommerce.core.search.service.solr.DelegatingHttpJettySolrClient
[ERROR] /work/core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/search/service/solr/SolrConfiguration.java:[26,35] package org.apache.solr.solrj.jetty does not exist
[ERROR] /work/core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/search/service/solr/SolrConfiguration.java:[795,40] cannot find symbol
symbol: class HttpJettySolrClient
location: class org.broadleafcommerce.core.search.service.solr.SolrConfiguration

You can configure CI to report build results back to CodeLogic. See: https://docs.codelogic.com/Send_Build_Info/

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

✅ AI Library Upgrade Workflow Complete

Workflow Status

Step Status
DETECT_DEPENDENCIES ✅ SUCCESS
SPECIALIZED_SCAN ✅ SUCCESS
DIFF_COMPLETE ✅ SUCCESS
TICKET_GENERATION ✅ SUCCESS
TICKET_IMPLEMENTATION ✅ SUCCESS
PUSH_CHANGES ✅ SUCCESS

Result: Changes Successfully Implemented

✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR.

Summary:

  • Comparison Job: 4f48b465-91fe-4672-a404-0d06c387768a
  • Diff MVD: b339ef2c-855a-45ea-867b-f60e8235a08c
  • Status: Commits pushed successfully

Please review the changes and ensure they meet your requirements.


Generated by CodeLogic AI Library Upgrade

@CodeLogicAI CodeLogicAI had a problem deploying to CodeLogic Scan Env May 18, 2026 22:37 — with GitHub Actions Failure
@renovate
Copy link
Copy Markdown
Author

renovate Bot commented May 18, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

This commit completes the migration to Apache Solr 10.0 by fixing all compilation errors:

API Changes Fixed:
- Fixed HttpJettySolrClient import path from org.apache.solr.solrj.jetty to org.apache.solr.client.solrj.jetty
- Fixed StreamingResponseCallback import from org.apache.solr.client.solrj to org.apache.solr.client.solrj.response
- Updated getBinder() method to use DocumentObjectBinder.INSTANCE singleton (SOLR-17706)
- Removed setDefaultCollection() calls on CloudSolrClient as it's now immutable in Solr 10

Dependency Changes:
- Added solr-solrj-jetty:10.0.0 dependency to broadleaf-framework module
- Removed conflicting Jetty version overrides from parent pom to avoid convergence errors

The project now compiles successfully with Solr 10.0.0.

References:
- https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-10.html
- https://solr.apache.org/docs/10_0_0/changes/Changes.html
@CodeLogicAI CodeLogicAI temporarily deployed to CodeLogic Scan Env May 18, 2026 23:19 — with GitHub Actions Inactive
@CodeLogicAI
Copy link
Copy Markdown
Collaborator

🔧 Build failure detected, triggering improvement cycle...

A build failure was detected. The AI will analyze the failure and attempt to fix the issues.

Improvement Cycle Status

Metric Value
Iteration 1 / 50
Status 🔍 Analyzing Failure
Build Status ❌ Failure Detected

@CodeLogicAI
Copy link
Copy Markdown
Collaborator

📥 Received build info, processing...

Build information has been received for this PR and is being analyzed.

Improvement Cycle Status

Metric Value
Iteration 1 / 50
Status 🔍 Analyzing Failure
Build Status ❌ Failure Detected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant