Re: Migration to Java11 and modules

2023-01-03 Thread Ullrich Hafner
> Am 03.01.2023 um 15:42 schrieb 'Jesse Glick' via Jenkins Developers > : > > On Tue, Jan 3, 2023 at 8:08 AM Ullrich Hafner > wrote: >> Do we already have some guidelines on how to migrate a plugin to Java 11? > > Yes; normally there is very little to do. >

Re: Migration to Java11 and modules

2023-01-03 Thread 'Jesse Glick' via Jenkins Developers
On Tue, Jan 3, 2023 at 8:08 AM Ullrich Hafner wrote: > Do we already have some guidelines on how to migrate a plugin to Java 11? Yes; normally there is very little to do. > Do we need to create module-info.java files for plugins? No. > How do we access libraries that use modules? > Jenki

Re: Migration to Java11 and modules

2023-01-03 Thread Tim Jacomb
I'm not aware of hitting any modules issues, this is the normal pull request that has been applied: https://github.com/jenkinsci/support-core-plugin/pull/421 at a guess 30+ plugins with no issues, likely more. On Tue, 3 Jan 2023 at 13:08, Ullrich Hafner wrote: > I’m currently starting the Java

Migration to Java11 and modules

2023-01-03 Thread Ullrich Hafner
I’m currently starting the Java 11 migration of my plugins and my local builds are failing due to several Java modules failures (package x.y.z is declared in the unnamed module, but a.b.c does not use it, error: module not found: x.y.z). Do we already have some guidelines on how to migrate a