Skip to content

Commit fae9b7e

Browse files
authored
Merge pull request #308 from OpenLiberty/staging
Merge staging to prod: Update to MP6 and JEE10
2 parents 3bee137 + baaf219 commit fae9b7e

File tree

19 files changed

+314
-250
lines changed

19 files changed

+314
-250
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
working-directory: finish
4747
steps:
4848
- uses: actions/checkout@v2
49-
- name: Set up JDK 8
49+
- name: Set up JDK 11
5050
uses: actions/setup-java@v1
5151
with:
52-
java-version: 8
52+
java-version: 11
5353
- run: unset _JAVA_OPTIONS
5454
- name: Run tests
5555
run: ../scripts/testApp.sh

LICENSE

Lines changed: 246 additions & 172 deletions
Large diffs are not rendered by default.

finish/pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<packaging>war</packaging>
1111

1212
<properties>
13-
<maven.compiler.source>1.8</maven.compiler.source>
14-
<maven.compiler.target>1.8</maven.compiler.target>
13+
<maven.compiler.source>11</maven.compiler.source>
14+
<maven.compiler.target>11</maven.compiler.target>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1616
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1717
<!-- Liberty configuration -->
@@ -24,33 +24,33 @@
2424
<dependency>
2525
<groupId>jakarta.platform</groupId>
2626
<artifactId>jakarta.jakartaee-api</artifactId>
27-
<version>9.1.0</version>
27+
<version>10.0.0</version>
2828
<scope>provided</scope>
2929
</dependency>
3030
<dependency>
3131
<groupId>org.eclipse.microprofile</groupId>
3232
<artifactId>microprofile</artifactId>
33-
<version>5.0</version>
33+
<version>6.0</version>
3434
<type>pom</type>
3535
<scope>provided</scope>
3636
</dependency>
3737
<!-- For tests -->
3838
<dependency>
3939
<groupId>org.junit.jupiter</groupId>
4040
<artifactId>junit-jupiter</artifactId>
41-
<version>5.8.2</version>
41+
<version>5.9.2</version>
4242
<scope>test</scope>
4343
</dependency>
4444
<dependency>
4545
<groupId>org.jboss.resteasy</groupId>
4646
<artifactId>resteasy-client</artifactId>
47-
<version>6.0.0.Final</version>
47+
<version>6.2.3.Final</version>
4848
<scope>test</scope>
4949
</dependency>
5050
<dependency>
5151
<groupId>org.jboss.resteasy</groupId>
5252
<artifactId>resteasy-json-binding-provider</artifactId>
53-
<version>6.0.0.Final</version>
53+
<version>6.2.3.Final</version>
5454
<scope>test</scope>
5555
</dependency>
5656
<dependency>
@@ -80,14 +80,14 @@
8080
<plugin>
8181
<groupId>org.apache.maven.plugins</groupId>
8282
<artifactId>maven-surefire-plugin</artifactId>
83-
<version>2.22.2</version>
83+
<version>3.0.0</version>
8484
</plugin>
8585
<!-- Plugin to run functional tests -->
8686
<!-- tag::maven-failsafe-plugin[] -->
8787
<plugin>
8888
<groupId>org.apache.maven.plugins</groupId>
8989
<artifactId>maven-failsafe-plugin</artifactId>
90-
<version>2.22.2</version>
90+
<version>3.0.0</version>
9191
<configuration>
9292
<systemPropertyVariables>
9393
<http.port>${liberty.var.default.http.port}</http.port>

finish/src/main/java/io/openliberty/sample/system/SystemApplication.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2017, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.sample.system;

finish/src/main/java/io/openliberty/sample/system/SystemLivenessCheck.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2019, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.sample.system;

finish/src/main/java/io/openliberty/sample/system/SystemReadinessCheck.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2018, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.sample.system;

finish/src/main/java/io/openliberty/sample/system/SystemResource.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
/*******************************************************************************
33
* Copyright (c) 2017, 2022 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
10-
* IBM Corporation - Initial implementation
9+
* SPDX-License-Identifier: EPL-2.0
1110
*******************************************************************************/
1211
// end::copyright[]
1312
package io.openliberty.sample.system;

finish/src/main/liberty/config/server.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<server description="Sample Liberty server">
22
<!-- tag::features[] -->
33
<featureManager>
4-
<feature>restfulWS-3.0</feature>
5-
<feature>jsonp-2.0</feature>
6-
<feature>jsonb-2.0</feature>
7-
<feature>cdi-3.0</feature>
8-
<feature>mpMetrics-4.0</feature>
4+
<feature>restfulWS-3.1</feature>
5+
<feature>jsonp-2.1</feature>
6+
<feature>jsonb-3.0</feature>
7+
<feature>cdi-4.0</feature>
8+
<feature>mpMetrics-5.0</feature>
99
<!-- tag::mpHealth[] -->
1010
<feature>mpHealth-4.0</feature>
1111
<!-- end::mpHealth[] -->

finish/src/main/webapp/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2016, 2022 IBM Corp.
2+
Copyright (c) 2016, 2023 IBM Corp.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -125,6 +125,6 @@ <h4>Set course for the Open Liberty guides!</h4>
125125
<a href="https://openliberty.io/">openliberty.io</a>
126126
</div>
127127
<p id="footerText">an IBM open source project</p>
128-
<p id="footerCopyright">&copy;Copyright IBM Corp. 2018, 2022</p>
128+
<p id="footerCopyright">&copy;Copyright IBM Corp. 2018, 2023</p>
129129
</footer>
130130
</html>

finish/src/main/webapp/js/mpData.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
/*******************************************************************************
33
* Copyright (c) 2018, 2021 IBM Corporation and others.
44
* All rights reserved. This program and the accompanying materials
5-
* are made available under the terms of the Eclipse Public License v1.0
5+
* are made available under the terms of the Eclipse Public License 2.0
66
* which accompanies this distribution, and is available at
7-
* http://www.eclipse.org/legal/epl-v10.html
7+
* http://www.eclipse.org/legal/epl-2.0/
88
*
9-
* Contributors:
109
* IBM Corporation - initial API and implementation
1110
*******************************************************************************/
1211
// end::copyright[]

0 commit comments

Comments
 (0)