Skip to content

Commit b5cdafe

Browse files
authored
update versions (#196)
1 parent 6e98d7c commit b5cdafe

File tree

12 files changed

+280
-212
lines changed

12 files changed

+280
-212
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949

5050
steps:
5151
- uses: actions/checkout@v2
52-
- name: Set up JDK 8
52+
- name: Set up JDK 11
5353
uses: actions/setup-java@v1
5454
with:
55-
java-version: 8
55+
java-version: 11
5656
- run: unset _JAVA_OPTIONS
5757

5858
- name: Run tests

LICENSE

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

finish/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14-
<maven.compiler.source>1.8</maven.compiler.source>
15-
<maven.compiler.target>1.8</maven.compiler.target>
14+
<maven.compiler.source>11</maven.compiler.source>
15+
<maven.compiler.target>11</maven.compiler.target>
1616
</properties>
1717

1818
<dependencies>
1919
<!-- Provided dependencies -->
2020
<dependency>
2121
<groupId>jakarta.platform</groupId>
2222
<artifactId>jakarta.jakartaee-api</artifactId>
23-
<version>9.1.0</version>
23+
<version>10.0.0</version>
2424
<scope>provided</scope>
2525
</dependency>
2626
<dependency>
2727
<groupId>org.eclipse.microprofile</groupId>
2828
<!-- tag::microprofile[] -->
2929
<artifactId>microprofile</artifactId>
3030
<!-- end::microprofile[] -->
31-
<version>5.0</version>
31+
<version>6.0</version>
3232
<type>pom</type>
3333
<scope>provided</scope>
3434
</dependency>

finish/src/main/java/io/openliberty/guides/consumingrest/service/ArtistApplication.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.guides.consumingrest.service;

finish/src/main/java/io/openliberty/guides/consumingrest/service/ArtistResource.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.guides.consumingrest.service;

finish/src/main/java/io/openliberty/guides/consumingrest/service/Reader.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.guides.consumingrest.service;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<server description="Sample Liberty server">
22

33
<featureManager>
4-
<feature>restfulWS-3.0</feature>
5-
<feature>jsonb-2.0</feature>
6-
<feature>jsonp-2.0</feature>
4+
<feature>restfulWS-3.1</feature>
5+
<feature>jsonb-3.0</feature>
6+
<feature>jsonp-2.1</feature>
77
</featureManager>
88

99
<variable name="default.http.port" defaultValue="9080"/>

start/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111
<properties>
1212
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1313
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14-
<maven.compiler.source>1.8</maven.compiler.source>
15-
<maven.compiler.target>1.8</maven.compiler.target>
14+
<maven.compiler.source>11</maven.compiler.source>
15+
<maven.compiler.target>11</maven.compiler.target>
1616
</properties>
1717

1818
<dependencies>
1919
<!-- Provided dependencies -->
2020
<dependency>
2121
<groupId>jakarta.platform</groupId>
2222
<artifactId>jakarta.jakartaee-api</artifactId>
23-
<version>9.1.0</version>
23+
<version>10.0.0</version>
2424
<scope>provided</scope>
2525
</dependency>
2626
<dependency>
2727
<groupId>org.eclipse.microprofile</groupId>
2828
<!-- tag::microprofile[] -->
2929
<artifactId>microprofile</artifactId>
3030
<!-- end::microprofile[] -->
31-
<version>5.0</version>
31+
<version>6.0</version>
3232
<type>pom</type>
3333
<scope>provided</scope>
3434
</dependency>

start/src/main/java/io/openliberty/guides/consumingrest/service/ArtistApplication.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.guides.consumingrest.service;

start/src/main/java/io/openliberty/guides/consumingrest/service/ArtistResource.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.guides.consumingrest.service;

0 commit comments

Comments
 (0)