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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]