From e9bb94e12f4589d9b7ec9c6e877cfaacbfc95937 Mon Sep 17 00:00:00 2001 From: Joshua Bauer Date: Wed, 8 Feb 2023 11:42:32 -0800 Subject: [PATCH] Silence cached compiler logs and upgrade to blackbird --- CHANGELOG.md | 10 ++++++++++ proteus-core/conf/logback.xml | 1 + proteus-core/pom.xml | 2 +- .../io/sinistral/proteus/modules/JacksonModule.java | 4 ++-- proteus-core/src/test/resources/logback-test.xml | 1 + .../proteus/openapi/test/modules/JacksonModule.java | 4 ++-- proteus-openapi/src/test/resources/logback-test.xml | 1 + 7 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f432ba..b40d699 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ Proteus Changelog. ## Unreleased ### No issue +**Improve compatability** + + +[cb61cb367557f63](https://github.com/noboomu/proteus/commit/cb61cb367557f63) Joshua Bauer *2022-08-13 01:59:47* + +**Safer threaded compilation and caching of generated classes** + + +[d5eb3e745471280](https://github.com/noboomu/proteus/commit/d5eb3e745471280) Joshua Bauer *2022-08-13 01:58:36* + **Reduce logging.** diff --git a/proteus-core/conf/logback.xml b/proteus-core/conf/logback.xml index b9f5278..129f587 100644 --- a/proteus-core/conf/logback.xml +++ b/proteus-core/conf/logback.xml @@ -35,6 +35,7 @@ + diff --git a/proteus-core/pom.xml b/proteus-core/pom.xml index 43d9fd6..64e6fcf 100644 --- a/proteus-core/pom.xml +++ b/proteus-core/pom.xml @@ -290,7 +290,7 @@ Proteus Changelog. com.fasterxml.jackson.module - jackson-module-afterburner + jackson-module-blackbird diff --git a/proteus-core/src/main/java/io/sinistral/proteus/modules/JacksonModule.java b/proteus-core/src/main/java/io/sinistral/proteus/modules/JacksonModule.java index d4f3ac7..442e39d 100644 --- a/proteus-core/src/main/java/io/sinistral/proteus/modules/JacksonModule.java +++ b/proteus-core/src/main/java/io/sinistral/proteus/modules/JacksonModule.java @@ -4,7 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; -import com.fasterxml.jackson.module.afterburner.AfterburnerModule; +import com.fasterxml.jackson.module.blackbird.BlackbirdModule; import com.fasterxml.jackson.module.paramnames.ParameterNamesModule; import com.google.inject.AbstractModule; import com.google.inject.Singleton; @@ -24,7 +24,7 @@ protected void configure() objectMapper.configure(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true); objectMapper.configure(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS, true); - objectMapper.registerModule(new AfterburnerModule()); + objectMapper.registerModule(new BlackbirdModule()); objectMapper.registerModule(new Jdk8Module()); objectMapper.registerModule(new JavaTimeModule()); objectMapper.registerModule(new ParameterNamesModule()); diff --git a/proteus-core/src/test/resources/logback-test.xml b/proteus-core/src/test/resources/logback-test.xml index e6e3070..e0654e9 100644 --- a/proteus-core/src/test/resources/logback-test.xml +++ b/proteus-core/src/test/resources/logback-test.xml @@ -28,6 +28,7 @@ + diff --git a/proteus-openapi/src/test/java/io/sinistral/proteus/openapi/test/modules/JacksonModule.java b/proteus-openapi/src/test/java/io/sinistral/proteus/openapi/test/modules/JacksonModule.java index 14bca1a..ef0d392 100644 --- a/proteus-openapi/src/test/java/io/sinistral/proteus/openapi/test/modules/JacksonModule.java +++ b/proteus-openapi/src/test/java/io/sinistral/proteus/openapi/test/modules/JacksonModule.java @@ -3,7 +3,7 @@ import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; -import com.fasterxml.jackson.module.afterburner.AfterburnerModule; +import com.fasterxml.jackson.module.blackbird.BlackbirdModule; import com.google.inject.AbstractModule; import com.google.inject.Singleton; @@ -25,7 +25,7 @@ protected void configure() objectMapper.configure(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS, true); objectMapper - .registerModule(new AfterburnerModule()) + .registerModule(new BlackbirdModule()) .registerModule(new Jdk8Module()); this.bind(ObjectMapper.class).toInstance(objectMapper); diff --git a/proteus-openapi/src/test/resources/logback-test.xml b/proteus-openapi/src/test/resources/logback-test.xml index 81b8470..939cca0 100644 --- a/proteus-openapi/src/test/resources/logback-test.xml +++ b/proteus-openapi/src/test/resources/logback-test.xml @@ -23,6 +23,7 @@ " +