Require Java 21 in plugin pom#1286
Conversation
Signed-off-by: Alexander Brandes <mc.cache@web.de>
Signed-off-by: Alexander Brandes <mc.cache@web.de>
|
I am trying to refresh my memory of how we handled Java bumps in the past, but I think this should be reverted (other than the 6 major version—too late!) and deferred. jenkinsci/jenkins#26018 has not even been released in a weekly yet, so where did the 2.516 dep come from? And the whole point of jenkinsci/maven-hpi-plugin#323 + #523 was that we would not need to make these incompatible changes to the plugin POM merely in order to support plugins which wish to depend on recent |
|
I wasn't aware of jenkinsci/maven-hpi-plugin#323, we can surely roll this release back, no? |
Well, it would be a 6.x version, if anyone cares. Ping @timja / @MarkEWaite / @jtnord in case anyone else has more context on this. |
yes, the properties should get overridden when the hpi-plugin runs to set the compiler release etc based on the version of Jenkins in use. |
|
Will revert this evening and locations I've bumped it. |
No need I think. AFAICT there is not much harm in the current release; it just cannot be used in plugins using somewhat older |
This reverts commit 7d6ddb2.
This reverts commit 7d6ddb2.
…c5a73a734ae4f3e6114 Revert "Require Java 21 in plugin pom (#1286)"
But that does not work with the enforcer properties, or am I doing something wrong? When I set a dependency to Jenkins 2.545 then I get: |
Is that with: I tried on credentials plugin after updating the parent pom to latest and it worked fine. |
|
No, without. When I remove the enforcer properties in jenkinsci/analysis-pom-plugin#1461, then my build fails with the message from above. But maybe this is a problem in my parent pom, I haven't tried without it. |
Twin of jenkinsci/pom#781