From 878096c65928ba77e365cbb64ab229ee7078015c Mon Sep 17 00:00:00 2001 From: Carsten Wickner Date: Sun, 29 Sep 2024 20:32:35 +0200 Subject: [PATCH] chore(deps): upgrade maven plugin dependencies --- .../JacksonDescriptionAsTitleExample.java | 1 - .../JacksonSubtypeDefinitionExample.java | 1 - jsonschema-maven-plugin/pom.xml | 18 ++++++++++++++++-- .../plugin/maven/SchemaGeneratorMojoTest.java | 4 ++-- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonDescriptionAsTitleExample.java b/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonDescriptionAsTitleExample.java index dcb6faf3..32104a8f 100644 --- a/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonDescriptionAsTitleExample.java +++ b/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonDescriptionAsTitleExample.java @@ -12,7 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ package com.github.victools.jsonschema.examples; diff --git a/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonSubtypeDefinitionExample.java b/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonSubtypeDefinitionExample.java index d8e84e74..bc3dd33d 100644 --- a/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonSubtypeDefinitionExample.java +++ b/jsonschema-examples/src/main/java/com/github/victools/jsonschema/examples/JacksonSubtypeDefinitionExample.java @@ -12,7 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * */ package com.github.victools.jsonschema.examples; diff --git a/jsonschema-maven-plugin/pom.xml b/jsonschema-maven-plugin/pom.xml index 6b6841e0..408d211f 100644 --- a/jsonschema-maven-plugin/pom.xml +++ b/jsonschema-maven-plugin/pom.xml @@ -20,9 +20,10 @@ - 3.8.1 + 3.9.9 3.3.0 - 3.6.0 + 3.15.0 + 2.17.0 @@ -61,7 +62,20 @@ maven-plugin-testing-harness ${maven.testing.version} test + + + commons-io + commons-io + + + + commons-io + commons-io + ${commons.io.version} + test + + com.github.victools jsonschema-generator diff --git a/jsonschema-maven-plugin/src/test/java/com/github/victools/jsonschema/plugin/maven/SchemaGeneratorMojoTest.java b/jsonschema-maven-plugin/src/test/java/com/github/victools/jsonschema/plugin/maven/SchemaGeneratorMojoTest.java index 0f5ab366..010ea79c 100644 --- a/jsonschema-maven-plugin/src/test/java/com/github/victools/jsonschema/plugin/maven/SchemaGeneratorMojoTest.java +++ b/jsonschema-maven-plugin/src/test/java/com/github/victools/jsonschema/plugin/maven/SchemaGeneratorMojoTest.java @@ -77,10 +77,10 @@ public void testGeneration(String testCaseName) throws Exception { Assertions.assertTrue(FileUtils.contentEqualsIgnoreEOL(resultFile, referenceFile, CHARSET_NAME), "Generated schema for " + testCaseName + " is not equal to the expected reference.\n" + "Generated:\n" - + FileUtils.readFileToString(resultFile) + + FileUtils.readFileToString(resultFile, CHARSET_NAME) + "\n----------\n" + "Expected:\n" - + FileUtils.readFileToString(referenceFile)); + + FileUtils.readFileToString(referenceFile, CHARSET_NAME)); } /**