[ 
https://issues.apache.org/jira/browse/SOLR-18003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048957#comment-18048957
 ] 

ASF subversion and git services commented on SOLR-18003:
--------------------------------------------------------

Commit a4ea8f3a35dbef11a723a85a9d90f9d8bdb661d9 in solr's branch 
refs/heads/branch_10x from Mark Prins
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=a4ea8f3a35d ]

SOLR-18003: Fix invalid POM for solrj due to jackson (#3998)

Co-authored-by: Copilot <[email protected]>
(cherry picked from commit a4f26ddc64e74af79c31f6b708622c291b7b7fc2)


> 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
>            Priority: Blocker
>              Labels: easyfix, pull-request-available
>             Fix For: 10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to