Hi,

I think the situation changed a bit since this discussion more than 2 years 
ago.

I would like to push to use JDK 11 as a default for the implicit version of 
buildPlugin()

I've raised a PR to change such default : 
https://github.com/jenkins-infra/pipeline-library/pull/897#issuecomment-2574946930

My observation are

- Many plugin not using explicit configuration are already broken (outdated 
pom 1.x and 2.x due to version range on tooling). 
- Difficult for non-plugin maintainer to submit PR to modernize a plugin 
with Jenkinsfile changes (untrusted, will keep using JDK 8 until replayed)
- During Java 21 support many plugin were already ported to using explicit 
config
- In 6 month more less we will recommend as a minimal LTS version requiring 
Java 17 (2.479.1)
- I also expect to use 
https://github.com/jenkins-infra/plugin-modernizer-tool as much as possible 
to baseline most plugin to recommended version (JDK 11, 2.452.4). Not 
changing the Jenkinsfile would at least allow the build to pass on CI

Regards,


On Thursday, December 8, 2022 at 5:05:12 PM UTC+1 damien....@gmail.com 
wrote:

> As explained by Jesse in 
> https://github.com/jenkins-infra/pipeline-library/pull/541#issuecomment-1342884874,
>  
> changing the default of buildPlugin() could create problems. I'll close the 
> PR as there is no value in changing the default as it.
>
> The archetypes used to generate a new plugin project are already up to 
> date: there is a documentation effort to be done that would be much more 
> valuable (I heard that some documentation contributors are going to propose 
> help) which make sense.
>
> Eventually, once the documentation is up to date, we could add a message 
> when "buildPlugin()" is called without argument, recomending to list 
> explicit configurations.
>
>
> Le mercredi 7 décembre 2022 à 16:51:06 UTC+1, Damien Duportal a écrit :
>
>> Prepared the draft PR for "buildPlugin()": 
>> https://github.com/jenkins-infra/pipeline-library/pull/541
>>
>> Le jeudi 1 décembre 2022 à 19:16:40 UTC+1, m...@basilcrow.com a écrit :
>>
>>> I released the first tranche of PRs in 4.52 
>>> <https://github.com/jenkinsci/plugin-pom/releases/tag/plugin-4.52>. 
>>> Next week I will take a look at migrating from Jetty 9 to Jetty 10 in the 
>>> plugin build toolchain.
>>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/jenkinsci-dev/e0d0a7c2-00f2-4f36-86e3-0afbaba480d6n%40googlegroups.com.

Reply via email to