Skip to content

Commit f64bc85

Browse files
committed
[WFLY-19892] moves Quickstarts Maven projects to Java SE 17
1 parent ab1e88e commit f64bc85

File tree

63 files changed

+202
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+202
-118
lines changed

batch-processing/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
</licenses>
4545

4646
<properties>
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
4749
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
4951
<!-- the versions for BOMs, Packs and Plugins -->

bmt/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
</licenses>
4545

4646
<properties>
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
4749
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
4951
<!-- the versions for BOMs, Packs and Plugins -->

cmt/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
</licenses>
4444

4545
<properties>
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
4648
<!-- the version for the Server -->
4749
<version.server>34.0.0.Final</version.server>
4850
<!-- the versions for BOMs, Packs and Plugins -->

ee-security/pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@
4444
</licenses>
4545

4646
<properties>
47-
<!-- Version for the server -->
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
49+
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
49-
<!-- The versions for BOMs, Packs and Plugins -->
51+
<!-- the versions for BOMs, Packs and Plugins -->
5052
<version.bom.ee>${version.server}</version.bom.ee>
5153
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5254
</properties>

ejb-multi-server/pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@
4646
</licenses>
4747

4848
<properties>
49+
<!-- the Maven project should use the minimum Java SE version supported -->
50+
<maven.compiler.release>17</maven.compiler.release>
4951
<!-- the version for the Server -->
5052
<version.server>34.0.0.Final</version.server>
51-
<!-- The versions for BOMs, Dependencies and Plugins -->
53+
<!-- the versions for BOMs, Packs and Plugins -->
5254
<version.bom.ee>${version.server}</version.bom.ee>
5355
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5456
</properties>

ejb-remote/pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@
4343
</licenses>
4444

4545
<properties>
46-
<!-- Version for the server -->
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
48+
<!-- the version for the Server -->
4749
<version.server>34.0.0.Final</version.server>
48-
<!-- The versions for BOMs, Packs and Plugins -->
50+
<!-- the versions for BOMs, Packs and Plugins -->
4951
<version.bom.ee>${version.server}</version.bom.ee>
5052
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5153
</properties>

ejb-security-context-propagation/pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@
4343
</licenses>
4444

4545
<properties>
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
4648
<!-- the version for the Server -->
4749
<version.server>34.0.0.Final</version.server>
48-
<!-- The versions for BOMs, Dependencies and Plugins -->
50+
<!-- the versions for BOMs, Packs and Plugins -->
4951
<version.bom.ee>${version.server}</version.bom.ee>
5052
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5153
</properties>

ejb-security-programmatic-auth/pom.xml

+7-5
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@
4343
</licenses>
4444

4545
<properties>
46-
<!-- the version for the Server -->
47-
<version.server>34.0.0.Final</version.server>
48-
<!-- The versions for BOMs, Packs and Plugins -->
49-
<version.bom.ee>${version.server}</version.bom.ee>
50-
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
48+
<!-- the version for the Server -->
49+
<version.server>34.0.0.Final</version.server>
50+
<!-- the versions for BOMs, Packs and Plugins -->
51+
<version.bom.ee>${version.server}</version.bom.ee>
52+
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5153
</properties>
5254

5355
<dependencyManagement>

ejb-throws-exception/pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
</modules>
5151

5252
<properties>
53+
<!-- the Maven project should use the minimum Java SE version supported -->
54+
<maven.compiler.release>17</maven.compiler.release>
5355
<!-- the version for the Server -->
5456
<version.server>34.0.0.Final</version.server>
55-
<!-- The versions for BOMs, Dependencies and Plugins -->
57+
<!-- the versions for BOMs, Packs and Plugins -->
5658
<version.bom.ee>${version.server}</version.bom.ee>
5759
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5860
</properties>

ejb-timer/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@
4343
</licenses>
4444

4545
<properties>
46-
<!-- The versions for BOMs, Dependencies and Plugins -->
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
48+
<!-- the version for the Server -->
4749
<version.server>34.0.0.Final</version.server>
50+
<!-- the versions for BOMs, Packs and Plugins -->
4851
<version.bom.ee>${version.server}</version.bom.ee>
4952
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5053
</properties>

ejb-txn-remote-call/client/pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<version>8</version>
2929
<relativePath/>
3030
</parent>
31-
<!-- Temp: Trigger CI -->
3231

3332
<artifactId>ejb-txn-remote-call-client</artifactId>
3433
<version>35.0.0.Beta1-SNAPSHOT</version>
@@ -37,11 +36,14 @@
3736
<description>The project is the application to be deployed on the client server to call the second server</description>
3837

3938
<properties>
39+
<!-- the Maven project should use the minimum Java SE version supported -->
40+
<maven.compiler.release>17</maven.compiler.release>
4041
<!-- the version for the Server -->
4142
<version.server>34.0.0.Final</version.server>
42-
<!-- The versions for BOMs, Packs and Plugins -->
43+
<!-- the versions for BOMs, Packs and Plugins -->
4344
<version.bom.ee>${version.server}</version.bom.ee>
4445
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
46+
<!-- the versions for other Dependencies and Plugins -->
4547
<version.postgresql>42.7.0</version.postgresql>
4648
</properties>
4749

ejb-txn-remote-call/pom.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<version>8</version>
2929
<relativePath/>
3030
</parent>
31-
<!-- Temp: Trigger CI -->
3231
<artifactId>ejb-txn-remote-call</artifactId>
3332
<version>35.0.0.Beta1-SNAPSHOT</version>
3433
<packaging>pom</packaging>
@@ -51,6 +50,11 @@
5150
<module>server</module>
5251
</modules>
5352

53+
<properties>
54+
<!-- the Maven project should use the minimum Java SE version supported -->
55+
<maven.compiler.release>17</maven.compiler.release>
56+
</properties>
57+
5458
<repositories>
5559
<repository>
5660
<id>jboss-public-maven-repository</id>

ejb-txn-remote-call/server/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<version>8</version>
2929
<relativePath/>
3030
</parent>
31-
<!-- Temp: Trigger CI -->
3231

3332
<artifactId>ejb-txn-remote-call-server</artifactId>
3433
<version>35.0.0.Beta1-SNAPSHOT</version>
@@ -39,10 +38,11 @@
3938
<properties>
4039
<!-- the version for the Server -->
4140
<version.server>34.0.0.Final</version.server>
42-
<!-- The versions for BOMs, Packs and Plugins -->
41+
<!-- the versions for BOMs, Packs and Plugins -->
4342
<version.bom.ee>${version.server}</version.bom.ee>
44-
<version.narayana>7.0.0.Final</version.narayana>
4543
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
44+
<!-- the versions for other Dependencies and Plugins -->
45+
<version.narayana>7.0.0.Final</version.narayana>
4646
</properties>
4747

4848
<repositories>

ha-singleton-deployment/pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@
5050
</licenses>
5151

5252
<properties>
53+
<!-- the Maven project should use the minimum Java SE version supported -->
54+
<maven.compiler.release>17</maven.compiler.release>
5355
<!-- the version for the Server -->
5456
<version.server>34.0.0.Final</version.server>
55-
<!-- The versions for BOMs, Packs and Plugins -->
57+
<!-- the versions for BOMs, Packs and Plugins -->
5658
<version.bom.ee>${version.server}</version.bom.ee>
57-
<version.pack.cloud>7.0.0.Final</version.pack.cloud>
5859
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
60+
<!-- the versions for other Dependencies and Plugins -->
5961
<version.junit-jupiter>5.10.0</version.junit-jupiter>
6062
</properties>
6163

ha-singleton-service/pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@
4545
</licenses>
4646

4747
<properties>
48+
<!-- the Maven project should use the minimum Java SE version supported -->
49+
<maven.compiler.release>17</maven.compiler.release>
4850
<!-- the version for the Server -->
4951
<version.server>34.0.0.Final</version.server>
50-
<!-- The versions for BOMs, Packs and Plugins -->
52+
<!-- the versions for BOMs, Packs and Plugins -->
5153
<version.bom.ee>${version.server}</version.bom.ee>
52-
<version.pack.cloud>7.0.0.Final</version.pack.cloud>
5354
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
55+
<!-- the versions for other Dependencies and Plugins -->
5456
<version.junit-jupiter>5.10.0</version.junit-jupiter>
5557
</properties>
5658

helloworld-jms/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,15 @@
4343
</licenses>
4444

4545
<properties>
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
4648
<!-- the version for the Server -->
4749
<version.server>34.0.0.Final</version.server>
48-
<!-- The versions for BOMs, Packs and Plugins -->
50+
<!-- the versions for BOMs, Packs and Plugins -->
4951
<version.bom.ee>${version.server}</version.bom.ee>
5052
<version.pack.cloud>7.0.2.Final</version.pack.cloud>
5153
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
54+
<!-- the versions for other Dependencies and Plugins -->
5255
<version.junit-jupiter-engine>5.10.0</version.junit-jupiter-engine>
5356
</properties>
5457

helloworld-mdb/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,14 @@
4444
</licenses>
4545

4646
<properties>
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
4749
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
49-
<!-- The versions for BOMs, Packs and Plugins -->
51+
<!-- the versions for BOMs, Packs and Plugins -->
5052
<version.bom.ee>${version.server}</version.bom.ee>
5153
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
54+
<!-- the versions for other Dependencies and Plugins -->
5255
<version.junit-jupiter-engine>5.10.0</version.junit-jupiter-engine>
5356
</properties>
5457

helloworld-mutual-ssl-secured/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@
4444
</licenses>
4545

4646
<properties>
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
4749
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
4951
<!-- the versions for BOMs, Packs and Plugins -->
5052
<version.bom.ee>${version.server}</version.bom.ee>
51-
<version.pack.cloud>7.0.0.Final</version.pack.cloud>
5253
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5354
</properties>
5455

helloworld-mutual-ssl/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@
3131
</parent>
3232

3333
<properties>
34+
<!-- the Maven project should use the minimum Java SE version supported -->
35+
<maven.compiler.release>17</maven.compiler.release>
3436
<!-- the version for the Server -->
3537
<version.server>34.0.0.Final</version.server>
3638
<!-- the versions for BOMs, Packs and Plugins -->
3739
<version.bom.ee>${version.server}</version.bom.ee>
38-
<version.pack.cloud>7.0.0.Final</version.pack.cloud>
3940
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
4041
</properties>
4142

helloworld-singleton/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
</licenses>
4545

4646
<properties>
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
4749
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
4951
<!-- the versions for BOMs, Packs and Plugins -->

helloworld-ws/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
</licenses>
4444

4545
<properties>
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
4648
<!-- the version for the Server -->
4749
<version.server>34.0.0.Final</version.server>
4850
<!-- the versions for BOMs, Packs and Plugins -->

helloworld/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
</licenses>
4444

4545
<properties>
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
4648
<!-- the version for the Server -->
4749
<version.server>34.0.0.Final</version.server>
4850
<!-- the versions for BOMs, Packs and Plugins -->

hibernate/pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@
4444
</licenses>
4545

4646
<properties>
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
4749
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
4951
<!-- the versions for BOMs, Packs and Plugins -->
5052
<version.bom.ee>${version.server}</version.bom.ee>
5153
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
52-
<!-- the versions for test dependencies -->
54+
<!-- the versions for other Dependencies and Plugins -->
5355
<version.org.junit.jupiter>5.9.1</version.org.junit.jupiter>
5456
</properties>
5557

http-custom-mechanism/pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@
4949
</modules>
5050

5151
<properties>
52+
<!-- the Maven project should use the minimum Java SE version supported -->
53+
<maven.compiler.release>17</maven.compiler.release>
5254
<!-- the version for the Server -->
5355
<version.server>34.0.0.Final</version.server>
54-
<!-- The versions for BOMs, Packs and Plugins -->
56+
<!-- the versions for BOMs, Packs and Plugins -->
5557
<version.bom.ee>${version.server}</version.bom.ee>
5658
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
5759
</properties>

jaxrs-client/pom.xml

+5-8
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,18 @@
4444
</licenses>
4545

4646
<properties>
47-
<!-- The server version -->
47+
<!-- the Maven project should use the minimum Java SE version supported -->
48+
<maven.compiler.release>17</maven.compiler.release>
49+
<!-- the version for the Server -->
4850
<version.server>34.0.0.Final</version.server>
49-
<!-- The versions for BOMs, Dependencies and Plugins -->
51+
<!-- the versions for BOMs, Packs and Plugins -->
5052
<version.bom.ee>${version.server}</version.bom.ee>
5153
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
52-
54+
<!-- the versions for other Dependencies and Plugins -->
5355
<version.com.nimbusds.jose.jwt>9.37.1</version.com.nimbusds.jose.jwt>
5456
<version.org.junit>5.10.1</version.org.junit>
55-
5657
<!-- Configuration settings -->
5758
<jboss.home>${project.build.directory}/server</jboss.home>
58-
59-
<!-- These settings can be removed when the parent is upgraded to 6 -->
60-
<maven.compiler.target>11</maven.compiler.target>
61-
<maven.compiler.source>11</maven.compiler.source>
6259
</properties>
6360

6461
<dependencyManagement>

jaxrs-jwt/pom.xml

+5-8
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,18 @@
4343
</licenses>
4444

4545
<properties>
46-
<!-- The server version -->
46+
<!-- the Maven project should use the minimum Java SE version supported -->
47+
<maven.compiler.release>17</maven.compiler.release>
48+
<!-- the server version -->
4749
<version.server>34.0.0.Final</version.server>
48-
<!-- The versions for BOMs, Dependencies and Plugins -->
50+
<!-- the versions for BOMs, Packs and Plugins -->
4951
<version.bom.ee>${version.server}</version.bom.ee>
5052
<version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly>
51-
53+
<!-- the versions for other Dependencies and Plugins -->
5254
<version.com.nimbusds.jose.jwt>9.37.1</version.com.nimbusds.jose.jwt>
5355
<version.org.junit>5.10.1</version.org.junit>
54-
5556
<!-- Configuration settings -->
5657
<jboss.home>${project.build.directory}/server</jboss.home>
57-
58-
<!-- These settings can be removed when the parent is upgraded to 6 -->
59-
<maven.compiler.target>11</maven.compiler.target>
60-
<maven.compiler.source>11</maven.compiler.source>
6158
</properties>
6259

6360
<dependencyManagement>

0 commit comments

Comments
 (0)