From e89e211904cae233943f281478082783e159b16a Mon Sep 17 00:00:00 2001 From: Nic Munroe Date: Wed, 11 Sep 2024 18:03:34 -0700 Subject: [PATCH] Minor dependency and docs cleanup in samples --- samples/sample-spring-boot3-webflux/build.gradle | 1 - samples/sample-spring-boot3-webmvc/README.md | 6 +++++- samples/sample-spring-boot3-webmvc/build.gradle | 1 - samples/sample-spring-web-mvc/build.gradle | 3 --- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/samples/sample-spring-boot3-webflux/build.gradle b/samples/sample-spring-boot3-webflux/build.gradle index 38a68ec..76a3d98 100644 --- a/samples/sample-spring-boot3-webflux/build.gradle +++ b/samples/sample-spring-boot3-webflux/build.gradle @@ -35,7 +35,6 @@ dependencies { "org.junit.jupiter:junit-jupiter-engine:$junit5Version", "org.junit.jupiter:junit-jupiter-params:$junit5Version", "org.mockito:mockito-core:$mockitoVersion", - "ch.qos.logback:logback-classic", "org.assertj:assertj-core:$assertJVersion", "io.rest-assured:rest-assured", ) diff --git a/samples/sample-spring-boot3-webmvc/README.md b/samples/sample-spring-boot3-webmvc/README.md index d1ff074..a6bec2e 100644 --- a/samples/sample-spring-boot3-webmvc/README.md +++ b/samples/sample-spring-boot3-webmvc/README.md @@ -1,6 +1,10 @@ # Backstopper Sample Application - spring-boot3-webmvc -Backstopper is a framework-agnostic API error handling and (optional) model validation solution for Java 7 and greater. +Backstopper is a framework-agnostic API error handling and (optional) model validation solution for Java 17 and greater. + +(NOTE: The [Backstopper 1.x branch](https://github.com/Nike-Inc/backstopper/tree/v1.x) contains a version of +Backstopper for Java 7+, and for the `javax` ecosystem. The current Backstopper supports Java 17+ and the `jakarta` +ecosystem. The Backstopper 1.x releases also contain support for Spring 4 and 5, and Springboot 1 and 2.) This submodule contains a sample application based on Spring Boot 3 + Web MVC (Servlet) that fully integrates Backstopper. diff --git a/samples/sample-spring-boot3-webmvc/build.gradle b/samples/sample-spring-boot3-webmvc/build.gradle index d79b286..ee2ea28 100644 --- a/samples/sample-spring-boot3-webmvc/build.gradle +++ b/samples/sample-spring-boot3-webmvc/build.gradle @@ -35,7 +35,6 @@ dependencies { "org.junit.jupiter:junit-jupiter-engine:$junit5Version", "org.junit.jupiter:junit-jupiter-params:$junit5Version", "org.mockito:mockito-core:$mockitoVersion", - "ch.qos.logback:logback-classic", "org.assertj:assertj-core:$assertJVersion", "io.rest-assured:rest-assured", ) diff --git a/samples/sample-spring-web-mvc/build.gradle b/samples/sample-spring-web-mvc/build.gradle index beb1550..e03b693 100644 --- a/samples/sample-spring-web-mvc/build.gradle +++ b/samples/sample-spring-web-mvc/build.gradle @@ -23,9 +23,6 @@ dependencies { "org.junit.jupiter:junit-jupiter-engine:$junit5Version", "org.junit.jupiter:junit-jupiter-params:$junit5Version", "org.mockito:mockito-core:$mockitoVersion", - "com.fasterxml.jackson.core:jackson-core:$jacksonVersion", - "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion", - "ch.qos.logback:logback-classic:$logbackVersion", "org.assertj:assertj-core:$assertJVersion", "io.rest-assured:rest-assured:$restAssuredVersion", )