[BUILD-1013] Allow different Java versions for test compiler Created: 15/Feb/23 Updated: 15/Feb/23 Resolved: 15/Feb/23 |
|
| Status: | Closed |
| Project: | Build |
| Component/s: | Poms |
| Affects Version/s: | None |
| Fix Version/s: | POMs 54 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Michael Duerig | Assignee: | Michael Duerig |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Team: | |
| Work Started: |
| Description |
|
When using JDK <= 8 it was possible to configure a different Java version for the test compiler by setting the javaVersionForTests property. Somehow this functionality is not available for JDK > 8 (or got lost along the way). We should restore this by adding <configuration>
<testRelease>${javaVersionForTests}</testRelease>
</configuration>
to the maven-compiler-plugin of the compiler-jdk9 profile. |