diff --git a/CI/lastRelease.py b/CI/lastRelease.py index 6e14b9a..cc3b194 100755 --- a/CI/lastRelease.py +++ b/CI/lastRelease.py @@ -9,7 +9,7 @@ def getLastReleaseTag(): tag = l["tag_name"] if str(draft) != 'True' and tag.startswith("v2"): return tag[1:] - return "v2.1.3" + return "2.1.3" # main def main(): result = getLastReleaseTag() diff --git a/pom.xml b/pom.xml index 468c38a..d2a3c43 100644 --- a/pom.xml +++ b/pom.xml @@ -78,7 +78,7 @@ maven-compiler-plugin - 3.11.0 + 3.13.0 org.apache.maven.plugins @@ -97,7 +97,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.2.2 + 3.2.3 maven-dependency-plugin @@ -125,7 +125,7 @@ org.apache.maven.plugins maven-jar-plugin - 2.6 + 3.3.0 **/logback.xml @@ -183,7 +183,7 @@ maven-resources-plugin - 2.6 + 3.3.1 copy-resources @@ -432,22 +432,22 @@ 8 - 2.15.3 - 2.15.3 + 2.17.0 + 2.17.0 2.2 4.5.14 1.0.0 - 2.1.18 - 2.0.10 + 2.1.22 + 2.0.12 9.4.53.v20231009 - 1.4.11 + 1.5.3 2.0.9 3.1.2 - 3.3.1 + 3.5.2 4.13.2 - 3.24.2 + 3.25.3 2.2.14 - 1.0.87 + 1.4.0 UTF-8 https://oss.sonatype.org/content/repositories/snapshots/ diff --git a/src/test/java/spec/validator/ValidatorTest.java b/src/test/java/spec/validator/ValidatorTest.java index 31f0c64..320319c 100644 --- a/src/test/java/spec/validator/ValidatorTest.java +++ b/src/test/java/spec/validator/ValidatorTest.java @@ -753,7 +753,7 @@ public void testDebugInvalid30SpecByContentNt() throws Exception { ValidationResponse validationResponse = (ValidationResponse) response.getEntity(); assertThat(validationResponse.getMessages().contains(INFO_MISSING)).isTrue(); - assertThat("$.info: is missing but it is required").isEqualTo(validationResponse.getSchemaValidationMessages().get(0).getMessage()); + assertThat("$: required property 'info' not found").isEqualTo(validationResponse.getSchemaValidationMessages().get(0).getMessage()); } @Test @@ -843,7 +843,7 @@ public void testDebugInvalid20SpecByContentNt() throws Exception { ValidationResponse validationResponse = (ValidationResponse) response.getEntity(); assertThat(validationResponse.getMessages().contains(INFO_MISSING)).isTrue(); - assertThat("$.info: is missing but it is required").isEqualTo(validationResponse.getSchemaValidationMessages().get(0).getMessage()); + assertThat("$: required property 'info' not found").isEqualTo(validationResponse.getSchemaValidationMessages().get(0).getMessage()); } @Test