On Thu, Nov 18, 2021 at 4:57 AM 'Daniel Beck' via Jenkins Developers <
jenkinsci-dev@googlegroups.com> wrote:

> On Thu, Nov 18, 2021 at 10:22 AM 'Björn Pedersen' via Jenkins Developers <
> jenkinsci-dev@googlegroups.com> wrote:
>
>> you can build projects in any java version you like, even if  jenkins is
>> running in another version.
>>
>
> Unless you use https://plugins.jenkins.io/maven-plugin/
>

Even then it is OK so long as your agent *can* run the version of Java
required by Jenkins. You can still build projects with `-release 8` or
whatever. You can also use forked versions of JDK tools like `javac`, and
`java` for Surefire tests; the plugin will actually set this up for you
automatically if you pick an older JDK for the project, because we have
been here before.

(which you shouldn't, because it's terrible)
>

That too.

-- 
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 on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2AgR%2BS0v2ThYh%2BabFLR1nv0A-EHgy9u78tZ1BWr7G4GA%40mail.gmail.com.

Reply via email to