You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ppkarwasz (via GitHub)" <gi...@apache.org> on 2025/09/02 13:08:05 UTC
Re: [PR] Update apache.log4j to v2.25.1 [solr]
ppkarwasz commented on PR #3079:
URL: https://github.com/apache/solr/pull/3079#issuecomment-3245269829
```
* What went wrong:
Execution failed for task ':solr:core:analyzeClassesDependencies'.
> Dependency analysis found issues.
unusedDeclaredArtifacts
- biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0@jar
```
I suspect this dependency was added to suppress `javac` warnings with `-Xlint:classfile`. That flag complains when annotations from dependencies are missing (see https://github.com/apache/logging-log4j2/issues/3110#issuecomment-2423586754) for background), even runtime-invisible ones.
The issue is mostly cosmetic, and we’ve already solved it for Gradle users in version `2.25.0` (see #3437) by publishing Gradle Module Metadata. Because of that, you can safely remove `biz.aQute.bnd.annotation` from Solr: it will now be pulled in automatically as a transitive, compile-only dependency.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org