From 5af01fde26942619ad14b69bf625d3b4f2974337 Mon Sep 17 00:00:00 2001 From: Gilbert Kwan Date: Wed, 14 Feb 2024 17:38:38 -0500 Subject: [PATCH] Update to MP6.1 (#172) * update versions * update versions --- .github/dependabot.yml | 7 ++++++ finish/pom.xml | 22 +++++++++---------- .../guides/inventory/InventoryUtils.java | 4 ++-- finish/src/main/liberty/config/server.xml | 8 +++---- finish/src/main/webapp/index.html | 6 ++--- start/pom.xml | 22 +++++++++---------- .../guides/inventory/InventoryUtils.java | 4 ++-- start/src/main/liberty/config/server.xml | 8 +++---- start/src/main/webapp/index.html | 6 ++--- 9 files changed, 47 insertions(+), 40 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..00dad74 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: maven + directory: "/" + schedule: + interval: monthly + open-pull-requests-limit: 50 diff --git a/finish/pom.xml b/finish/pom.xml index c539161..169496e 100644 --- a/finish/pom.xml +++ b/finish/pom.xml @@ -13,8 +13,8 @@ 11 11 - 9080 - 9443 + 9080 + 9443 @@ -28,7 +28,7 @@ org.eclipse.microprofile microprofile - 6.0 + 6.1 pom provided @@ -36,19 +36,19 @@ org.junit.jupiter junit-jupiter - 5.9.2 + 5.10.1 test org.jboss.resteasy resteasy-client - 6.2.3.Final + 6.2.7.Final test org.jboss.resteasy resteasy-json-binding-provider - 6.2.3.Final + 6.2.7.Final test @@ -61,7 +61,7 @@ org.apache.commons commons-lang3 - 3.12.0 + 3.14.0 @@ -77,21 +77,21 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0 + 3.2.5 io.openliberty.tools liberty-maven-plugin - 3.8.2 + 3.10 org.apache.maven.plugins maven-failsafe-plugin - 3.0.0 + 3.2.5 - ${liberty.var.default.http.port} + ${liberty.var.http.port} diff --git a/finish/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java b/finish/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java index 5b77faa..c140bda 100644 --- a/finish/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java +++ b/finish/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java @@ -1,6 +1,6 @@ // tag::copyright[] /******************************************************************************* - * Copyright (c) 2017, 2022 IBM Corporation and others. + * Copyright (c) 2017, 2024 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -24,7 +24,7 @@ public class InventoryUtils { - private final String SYSTEM_PORT = System.getProperty("default.http.port", "9080"); + private final String SYSTEM_PORT = System.getProperty("http.port", "9080"); public Properties getProperties(String hostname) { try { diff --git a/finish/src/main/liberty/config/server.xml b/finish/src/main/liberty/config/server.xml index 0f58135..fbcd5f0 100755 --- a/finish/src/main/liberty/config/server.xml +++ b/finish/src/main/liberty/config/server.xml @@ -5,15 +5,15 @@ jsonp-2.1 jsonb-3.0 cdi-4.0 - mpConfig-3.0 + mpConfig-3.1 mpRestClient-3.0 mpOpenAPI-3.1 - - + + - diff --git a/finish/src/main/webapp/index.html b/finish/src/main/webapp/index.html index 80d3cca..714a883 100755 --- a/finish/src/main/webapp/index.html +++ b/finish/src/main/webapp/index.html @@ -1,5 +1,5 @@ - 9080 - 9443 + 9080 + 9443 @@ -28,7 +28,7 @@ org.eclipse.microprofile microprofile - 6.0 + 6.1 pom provided @@ -36,19 +36,19 @@ org.junit.jupiter junit-jupiter - 5.9.2 + 5.10.1 test org.jboss.resteasy resteasy-client - 6.2.3.Final + 6.2.7.Final test org.jboss.resteasy resteasy-json-binding-provider - 6.2.3.Final + 6.2.7.Final test @@ -61,7 +61,7 @@ org.apache.commons commons-lang3 - 3.12.0 + 3.14.0 @@ -77,21 +77,21 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0 + 3.2.5 io.openliberty.tools liberty-maven-plugin - 3.8.2 + 3.10 org.apache.maven.plugins maven-failsafe-plugin - 3.0.0 + 3.2.5 - ${liberty.var.default.http.port} + ${liberty.var.http.port} diff --git a/start/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java b/start/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java index 3de63a0..da24c9d 100644 --- a/start/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java +++ b/start/src/main/java/io/openliberty/guides/inventory/InventoryUtils.java @@ -1,6 +1,6 @@ // tag::copyright[] /******************************************************************************* - * Copyright (c) 2017, 2022 IBM Corporation and others. + * Copyright (c) 2017, 2024 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -24,7 +24,7 @@ public class InventoryUtils { - private final String SYSTEM_PORT = System.getProperty("default.http.port", "9080"); + private final String SYSTEM_PORT = System.getProperty("http.port", "9080"); public Properties getProperties(String hostname) { try { diff --git a/start/src/main/liberty/config/server.xml b/start/src/main/liberty/config/server.xml index a77de8a..e784b80 100755 --- a/start/src/main/liberty/config/server.xml +++ b/start/src/main/liberty/config/server.xml @@ -5,15 +5,15 @@ jsonp-2.1 jsonb-3.0 cdi-4.0 - mpConfig-3.0 + mpConfig-3.1 mpRestClient-3.0 mpOpenAPI-3.1 - - + + - diff --git a/start/src/main/webapp/index.html b/start/src/main/webapp/index.html index 80d3cca..714a883 100755 --- a/start/src/main/webapp/index.html +++ b/start/src/main/webapp/index.html @@ -1,5 +1,5 @@