Github user acoburn commented on the issue:
https://github.com/apache/jena/pull/428
Explicitly marking the dependency as optional might work.
If that doesn't work, the import declaration in `jena-osgi` for
`com.google.errorprone.annotations` is in the same category as
`org.checkerframework.checker`: they are both related to the transitive
dependencies in Guava. Marking them both as optional would work
(`resolution:=optional`), as would excluding them entirely
(`!org.checkerframework...`). It would make sense to treat them in the same way.
You are correct, the `xerces` feature can be entirely removed. Once we
figure out the best approach here, I can make that change as part of this PR --
unless you'd like it to be handled separately.
---