Skip to content

Commit

Permalink
Introduce minimum-java-version and recommended-java-version
Browse files Browse the repository at this point in the history
- Fixes #28497

(cherry picked from commit 55edc25)
  • Loading branch information
gastaldi authored and gsmet committed Jan 17, 2023
1 parent d7a71be commit ebe1b01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
<!-- Enable APT by default for Eclipse -->
<m2e.apt.activation>jdt_apt</m2e.apt.activation>

<!-- These 2 properties are used in catalog-overrides.json -->
<minimum-java-version>${maven.compiler.release}</minimum-java-version>
<recommended-java-version>17</recommended-java-version>

<!--
Supported Maven versions, interpreted as a version range (Also defined in quarkus-enforcer-rules)
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@
"supported-maven-versions": "${supported-maven-versions}",
"proposed-maven-version": "${proposed-maven-version}",
"maven-wrapper-version": "${maven-wrapper.version}",
"gradle-wrapper-version": "${gradle-wrapper.version}"
"gradle-wrapper-version": "${gradle-wrapper.version}",
"minimum-java-version": "${minimum-java-version}",
"recommended-java-version": "${recommended-java-version}"
}
},
"codestarts-artifacts": [
Expand Down

0 comments on commit ebe1b01

Please sign in to comment.