File tree Expand file tree Collapse file tree 4 files changed +10
-15
lines changed
microprofile-fault-tolerance
microprofile-reactive-messaging-kafka Expand file tree Collapse file tree 4 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -449,12 +449,11 @@ Add the following properties to the `pom.xml`:
449
449
<version.bom.ee>{versionServerBom}</version.bom.ee>
450
450
----
451
451
452
- Also the project can be updated to use Java 8 as the minimum:
452
+ Also the project can be updated to use Java 17 as the minimum:
453
453
454
454
[source,options="nowrap"]
455
455
----
456
- <maven.compiler.source>1.8</maven.compiler.source>
457
- <maven.compiler.target>1.8</maven.compiler.target>
456
+ <maven.compiler.release>17</maven.compiler.release>
458
457
----
459
458
460
459
Before the dependencies are defined add the following boms:
Original file line number Diff line number Diff line change @@ -526,12 +526,11 @@ Add the following properties to the `pom.xml`.
526
526
<version.bom.ee>{versionServerBom}</version.bom.ee>
527
527
----
528
528
529
- Also the project can be updated to use Java 11 as the minimum.
529
+ Also the project can be updated to use Java 17 as the minimum.
530
530
531
531
[source,options="nowrap"]
532
532
----
533
- <maven.compiler.source>11</maven.compiler.source>
534
- <maven.compiler.target>11</maven.compiler.target>
533
+ <maven.compiler.release>17</maven.compiler.release>
535
534
----
536
535
537
536
Before the dependencies are defined add the following boms.
Original file line number Diff line number Diff line change @@ -1854,20 +1854,18 @@ Open the project in your favourite IDE.
1854
1854
1855
1855
Open the generated `pom.xml`.
1856
1856
1857
- The first thing to do is to change the minimum JDK to Java 11 and set the other relevant version properties:
1857
+ The first thing to do is to change the minimum JDK to Java 17 and set the other relevant version properties:
1858
1858
1859
1859
[source,xml,subs="attributes+"]
1860
1860
----
1861
- <maven.compiler.source>11</maven.compiler.source>
1862
- <maven.compiler.target>11</maven.compiler.target>
1863
-
1861
+ <!-- the Maven project should use the minimum Java SE version supported -->
1862
+ <maven.compiler.release>17</maven.compiler.release>
1864
1863
<!-- the version for the Server -->
1865
1864
<version.server>{versionServer}</version.server>
1866
- <!-- The versions for the BOMs, Packs and Plugins -->
1865
+ <!-- the versions for the BOMs, Packs and Plugins -->
1867
1866
<version.bom.ee>{versionBomEE}</version.bom.ee>
1868
1867
<version.bom.expansion>{versionBomMicroprofile}</version.bom.expansion>
1869
1868
<version.plugin.wildfly>{versionPluginWildfly}</version.plugin.wildfly>
1870
- <version.plugin.wildfly-jar>{versionPluginWildflyJar}</version.plugin.wildfly-jar>
1871
1869
----
1872
1870
1873
1871
Next we need to setup our dependencies. Add the following section to your
Original file line number Diff line number Diff line change @@ -601,12 +601,11 @@ cd microprofile-reactive-messaging-kafka
601
601
602
602
Open the project in your favourite IDE.
603
603
604
- The project needs to be updated to use Java 8 as the minimum:
604
+ The project needs to be updated to use Java 17 as the minimum:
605
605
606
606
[source,options="nowrap"]
607
607
----
608
- <maven.compiler.source>1.8</maven.compiler.source>
609
- <maven.compiler.target>1.8</maven.compiler.target>
608
+ <maven.compiler.release>17</maven.compiler.release>
610
609
----
611
610
612
611
Next set up our dependencies. Add the following section to your
You can’t perform that action at this time.
0 commit comments