From 449f5aa0704cec90cdc328946a77743cda646755 Mon Sep 17 00:00:00 2001 From: Carsten Wickner Date: Tue, 29 Oct 2024 23:44:48 +0100 Subject: [PATCH] chore: bump dependency versions --- jsonschema-generator-parent/pom.xml | 40 +++++++++---------- jsonschema-generator/pom.xml | 4 -- .../victools/jsonschema/generator/Option.java | 2 + .../jsonschema/generator/SchemaBuilder.java | 1 + .../jsonschema/plugin/maven/GlobHandler.java | 1 + 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/jsonschema-generator-parent/pom.xml b/jsonschema-generator-parent/pom.xml index af5d7a9c..a7bf92e9 100644 --- a/jsonschema-generator-parent/pom.xml +++ b/jsonschema-generator-parent/pom.xml @@ -137,35 +137,35 @@ 1.8 1.8 - 3.3.1 - 10.14.1 - 3.10.1 - 3.2.1 - 3.6.3 - 1.0.0.RC3 + 3.6.0 + 10.19.0 + 3.13.0 + 3.5.0 + 3.10.1 + 1.2.2.Final 2.5.3 - 3.2.1 - 3.2.5 + 3.3.1 + 3.5.1 undefined - 1.5.1 - 2.14.2 - 2.0.3 + 1.7.0 + 2.17.2 + 2.0.16 - 1.5.1 - 5.9.1 - 1.3.12 - 4.8.0 - 1.0.73 + 1.5.3 + 5.11.3 + 1.5.12 + 4.11.0 + 1.5.2 - 3.0.2 + 3.1.0 2.0.1.Final - 1.6.7 - 2.2.5 + 1.6.14 + 2.2.25 - 4.8.149 + 4.8.177 diff --git a/jsonschema-generator/pom.xml b/jsonschema-generator/pom.xml index b89ea644..448cd60f 100644 --- a/jsonschema-generator/pom.xml +++ b/jsonschema-generator/pom.xml @@ -41,10 +41,6 @@ maven-checkstyle-plugin - - org.jacoco - jacoco-maven-plugin - maven-source-plugin diff --git a/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/Option.java b/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/Option.java index 096c59cf..2958b386 100644 --- a/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/Option.java +++ b/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/Option.java @@ -258,6 +258,7 @@ public enum Option { * and assigning a name to it like for all other defined subschemas. *
* Otherwise, "$ref"-erences to the main/target schema will use the empty fragment ("#") and it will not be listed in the "definitions"/"$defs". + * *

* Beware: this only results in a valid schema from {@link SchemaVersion#DRAFT_2019_09} onward. Before that, everything besides "$ref" would be * ignored. @@ -288,6 +289,7 @@ public enum Option { /** * Whether all sub-schemas should be defined in-line, i.e. including no "definitions"/"$defs". This takes precedence over * {@link #DEFINITIONS_FOR_ALL_OBJECTS} and {@link #DEFINITION_FOR_MAIN_SCHEMA}. + * *

* Beware: This will result in an exception being thrown if a single circular reference is being encountered! *

diff --git a/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaBuilder.java b/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaBuilder.java index 2af19938..77dd4c79 100644 --- a/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaBuilder.java +++ b/jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/SchemaBuilder.java @@ -157,6 +157,7 @@ public ObjectNode createSchemaReference(Type targetType, Type... typeParameters) /** * Completing the schema generation (after {@link #createSchemaReference(Type, Type...)} was invoked for all relevant types) by creating an * {@link ObjectNode} containing common schema definitions. + * *

* The given definition path (e.g. {@code "definitions"}, {@code "$defs"}, {@code "components/schemas"}) will be used in generated {@code "$ref"} * values (e.g. {@code "#/definitions/YourType"}, {@code "#/$defs/YourType"}, {@code "#/components/schemas/YourType"}). diff --git a/jsonschema-maven-plugin/src/main/java/com/github/victools/jsonschema/plugin/maven/GlobHandler.java b/jsonschema-maven-plugin/src/main/java/com/github/victools/jsonschema/plugin/maven/GlobHandler.java index 4b4b32bb..59109bb1 100644 --- a/jsonschema-maven-plugin/src/main/java/com/github/victools/jsonschema/plugin/maven/GlobHandler.java +++ b/jsonschema-maven-plugin/src/main/java/com/github/victools/jsonschema/plugin/maven/GlobHandler.java @@ -80,6 +80,7 @@ private static String convertInputToRegex(String input) { /** * Converts a standard POSIX Shell globbing pattern into a regular expression pattern. The result can be used with the standard * {@link java.util.regex} API to recognize strings which match the glob pattern. + * *

* See also, the POSIX Shell language: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13_01 *