eclipse / lyo.designer

lyo.designer
Eclipse Public License 2.0
11 stars 10 forks source link

use jdk17 #279

Closed Jad-el-khoury closed 5 months ago

Jad-el-khoury commented 5 months ago

Description

Migrate to JDK 17.

Checklist

Jad-el-khoury commented 5 months ago

The Jenkins configuration uses JDK 11 & maven 3.8.2. We will need to update it to use JDK 17 & maven 3.9.6 (the latest available)

berezovskyi commented 5 months ago

I upgraded the JDK in GH actions but it's still using 3.8 Maven. I think the best is to upgrade the mvnw wrapper version and use that instead. Can you do it?

berezovskyi commented 5 months ago

@Jad-el-khoury never mind, just fixed the build with JDK 21 and maven (wrapper) 3.9.6.

Jad-el-khoury commented 5 months ago

@Jad-el-khoury never mind, just fixed the build with JDK 21 and maven (wrapper) 3.9.6.

@berezovskyi ! You have done quite an extensive set of changes on GH Actions. But we are still relying on Jenkins for Lyodesigner. So, what's next?

  1. Update Jenkins?
  2. merge this PR?
berezovskyi commented 5 months ago

@Jad-el-khoury I think we shall merge this PR and switch Jenkins to use JDK 17 and latest Maven. If latest Maven in Jenkins is not 3.9.6, then we should switch Jenkins from running mvn to ./mvnw as this PR did.