You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "mark (Jira)" <ji...@apache.org> on 2025/11/28 13:42:00 UTC

[jira] [Created] (SOLR-18003) The POM for org.apache.solr:solr-solrj:jar:11.0.0-SNAPSHOT is invalid

mark created SOLR-18003:
---------------------------

             Summary: The POM for org.apache.solr:solr-solrj:jar:11.0.0-SNAPSHOT is invalid
                 Key: SOLR-18003
                 URL: https://issues.apache.org/jira/browse/SOLR-18003
             Project: Solr
          Issue Type: Bug
          Components: SolrJ
    Affects Versions: 10.0, main(11.0)
         Environment: * https://github.com/Tailormap/tailormap-api/pull/1522
            Reporter: mark


While preparing an upgrade of SolrJ from 9.10 to 10.x or later (forced by upgrading to Spring Boot 4) I run into the following warning while building"

{{[WARNING] The POM for org.apache.solr:solr-solrj:jar:11.0.0-20251126.070616-55 is invalid, transitive dependencies (if any) will not be available: 3 problems were encountered while building the effective model for org.apache.solr:solr-solrj:11.0.0-SNAPSHOT}}
{{[ERROR] 'dependencies.dependency.version' for com.fasterxml.jackson.core:jackson-databind:jar is missing. @ }}
{{[ERROR] 'dependencies.dependency.version' for com.fasterxml.jackson.core:jackson-annotations:jar is missing. @ }}
{{[ERROR] 'dependencies.dependency.version' for com.fasterxml.jackson.core:jackson-core:jar is missing. @ }}

{*}Note{*}: this message appears for both 10.0.0-SNAPSHOT as well as 11.0.0-SNAPSHOT (I don't see snapshots for 10.1.x but that may have the same issue)

The problem then shows up at runtime because transitive deoendecies are missing resulting in ClassNotFoundExceptions, eg. https://github.com/Tailormap/tailormap-api/actions/runs/19762262610/job/56627206060?pr=1522#step:7:2148

I think the pom file for SolrJ should:
 * import the Jackson BOM atrifact the same way as the solr-api does,

or
 * solr-solrj should have a parent that provides the Jackson version.

I guess either should not be hard for someone that understands how the build and publishing of the artifacts works.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org