On Tue, Dec 14, 2021 at 11:12 PM Basil Crow <m...@basilcrow.com> wrote:

> 1) … stop shipping the JARs in core


This could cause issues. Though class loaders are OK just ignoring
unloadable annotations, some tools which work with bytecode and reflective
APIs can encounter errors. Safest to have the annotation present, and
resolvable in the core/plugin class loader hierarchy, like any other
dependency.

without scope=provided


Not good, because then the plugin would *bundle* the annotation JAR, which
we do not want.

2) … This means plugins would get the versions corresponding to their core
> baseline.
>

Seems simplest and safest to me, and also ensures that the meaning of
annotations is consistent when applied to plugin references to core APIs.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3b-kwF2%3DMSCXJshvgJDki2LHQ4UJ29NVPTwn3H6Cpf1w%40mail.gmail.com.

Reply via email to