Exclude org.jenkins-ci:task-reactor from enforceBytecodeVersion#95
Exclude org.jenkins-ci:task-reactor from enforceBytecodeVersion#95jglick merged 1 commit intojenkinsci:masterfrom
Conversation
|
@jglick Is there a real use case to be |
|
@jglick Do you mean the build on CI when you specify |
oleg-nenashev
left a comment
There was a problem hiding this comment.
🐛 if I understand the use-case correctly. Instead of that, java.level should be defined accordingly to the Jenkins core. We could just add a profile to plugin-pom, which bumps java.level if jenkins.version is beyond 2.54
|
Well, there is no trivial way to implement my suggestion above, will think about non-trivial ones |
No, there is not. This is the only practical solution. And it is harmless—the dep is picked up from core, so the plugin cannot be doing anything wrong. See #91. |
oleg-nenashev
left a comment
There was a problem hiding this comment.
🐝 since there is no quick ways to do what I propose
After jenkinsci/lib-task-reactor#2 in 2.105, plugins using
java.level=7need this in order to build.@reviewbybees