From fe2b9da9b04cbaeee5d51022f38e5e69ba5c2e5e Mon Sep 17 00:00:00 2001 From: fbahle Date: Fri, 26 Jan 2024 23:14:20 +0100 Subject: [PATCH] Updated to latest dependency and plugin versions --- pom.xml | 58 +++++++++---------- .../GoogleJavaFormatterWrapperTest.java | 2 +- .../PalantirJavaFormatterWrapperTest.java | 2 +- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/pom.xml b/pom.xml index 20fbd2d9f..7257648cc 100644 --- a/pom.xml +++ b/pom.xml @@ -118,12 +118,12 @@ UTF-8 UTF-8 ${project.build.directory}/keystore - 1.17.0 - 2.35.0 + 1.19.2 + 2.40.0 0.3.0 - 3.12.0 + 3.14.0 RELEASE120 - 1.16.1 + 1.17.2 6.55.0 @@ -133,7 +133,7 @@ org.eclipse.platform org.eclipse.text - 3.13.0 + 3.13.100 org.eclipse.platform @@ -150,7 +150,7 @@ org.eclipse.jdt org.eclipse.jdt.core - 3.34.0 + 3.36.0 org.eclipse.platform @@ -167,7 +167,7 @@ de.funfried.libraries jsdt-core - 1.0.5 + 1.0.6 com.google.guava @@ -198,7 +198,7 @@ io.spring.javaformat spring-javaformat-formatter - 0.0.39 + 0.0.41 @@ -253,7 +253,7 @@ com.diffplug.spotless spotless-lib - 2.35.0 + 2.44.0 @@ -273,13 +273,13 @@ com.fasterxml.jackson.core jackson-core - 2.15.2 + 2.16.1 com.fasterxml.jackson.core jackson-databind - 2.15.2 + 2.16.1 @@ -480,26 +480,26 @@ org.apache.commons commons-text - 1.10.0 + 1.11.0 commons-io commons-io - 2.13.0 + 2.15.1 commons-validator commons-validator - 1.7 + 1.8.0 com.google.guava guava - 32.1.2-jre + 33.0.0-jre @@ -524,12 +524,12 @@ org.apache.netbeans.utilities nbm-maven-plugin - 4.8 + 14.0 org.apache.maven.plugins maven-compiler-plugin - 3.11.0 + 3.12.1 org.apache.maven.plugins @@ -549,7 +549,7 @@ org.apache.maven.plugins maven-clean-plugin - 3.3.1 + 3.3.2 org.apache.maven.plugins @@ -629,12 +629,12 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.5 + 3.5.0 org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + 3.6.3 true all,-missing @@ -661,7 +661,7 @@ org.codehaus.mojo versions-maven-plugin - 2.16.0 + 2.16.2 org.codehaus.mojo @@ -684,22 +684,22 @@ org.codehaus.mojo license-maven-plugin - 2.2.0 + 2.3.0 org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.3 org.apache.maven.plugins maven-dependency-plugin - 3.6.0 + 3.6.1 org.jacoco jacoco-maven-plugin - 0.8.10 + 0.8.11 de/funfried/netbeans/plugins/external/formatter/**/* @@ -718,12 +718,12 @@ org.apache.maven.plugins maven-jxr-plugin - 3.3.0 + 3.3.2 org.apache.maven.plugins maven-pmd-plugin - 3.21.0 + 3.21.2 net.sourceforge.pmd @@ -750,12 +750,12 @@ com.github.spotbugs spotbugs-maven-plugin - 4.7.3.5 + 4.8.2.0 org.owasp dependency-check-maven - 8.3.1 + 9.0.9 3 false diff --git a/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/google/GoogleJavaFormatterWrapperTest.java b/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/google/GoogleJavaFormatterWrapperTest.java index 15ad189ed..9cf9ec659 100644 --- a/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/google/GoogleJavaFormatterWrapperTest.java +++ b/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/google/GoogleJavaFormatterWrapperTest.java @@ -303,7 +303,7 @@ public void testNonFormatableCode() { try { instance.format(text, JavaFormatterOptions.Style.GOOGLE, null); } catch (RuntimeException ex) { - Assert.assertTrue(ex.getMessage(), ex.getMessage().contains("class, interface, or enum expected") || ex.getMessage().contains("class, interface, enum, or record expected")); + Assert.assertTrue(ex.getMessage(), ex.getMessage().contains("error: class, interface, ")); } } diff --git a/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/palantir/PalantirJavaFormatterWrapperTest.java b/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/palantir/PalantirJavaFormatterWrapperTest.java index fffbbb4b6..340caa270 100644 --- a/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/palantir/PalantirJavaFormatterWrapperTest.java +++ b/src/test/java/de/funfried/netbeans/plugins/external/formatter/java/palantir/PalantirJavaFormatterWrapperTest.java @@ -155,7 +155,7 @@ public void testNonFormatableCode() { try { instance.format(text, null); } catch (RuntimeException ex) { - Assert.assertTrue(ex.getMessage(), ex.getMessage().contains("class, interface, or enum expected") || ex.getMessage().contains("class, interface, enum, or record expected")); + Assert.assertTrue(ex.getMessage(), ex.getMessage().contains("error: class, interface, ")); } }