On Fri, Oct 23, 2020 at 1:00 PM Radosław Antoniuk
<[email protected]> wrote:
> you are saying that all the  org.jenkins-ci.plugin:*:compile dependencies 
> that are in the "Undeclared used dependencies" output from dependency:analyze 
> - should be added to direct dependencies?

Yes, something like that. We do not currently try to enforce this
mechanically since the exceptions are tricky to characterize.

> exclude org.jenkins-ci.plugin:* from the optional dependencies instead - see 
> https://github.com/jenkinsci/jira-plugin/pull/292/files

Fine if all of those excluded dependencies are added as direct
dependencies anyway. If they are not, then you might run into
`ClassNotFoundException`’s in tests, depending on what you are
testing.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr27WKJ2tAFpnobg0ksjMc5DiomMn%3DsHTXUgCnhkCUD3Vw%40mail.gmail.com.

Reply via email to