Downgrade Jackson version to 2.10.4

This commit is contained in:
Mahmoud Ben Hassine
2020-06-11 09:16:50 +02:00
parent b7f202f810
commit 1e111f34d3
2 changed files with 1 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ allprojects {
hibernateValidatorVersion = '6.0.20.Final'
javaxElVersion = '3.0.0'
hsqldbVersion = '2.5.0'
jackson2Version = '2.11.0'
jackson2Version = '2.10.4'
gsonVersion = '2.8.6'
javaMailVersion = '1.6.2'
javaxBatchApiVersion = '1.0'

View File

@@ -107,7 +107,6 @@ public class Jackson2ExecutionContextStringSerializer implements ExecutionContex
this.objectMapper = new ObjectMapper();
this.objectMapper.configure(MapperFeature.DEFAULT_VIEW_INCLUSION, false);
this.objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true);
this.objectMapper.configure(MapperFeature.BLOCK_UNSAFE_POLYMORPHIC_BASE_TYPES, true);
this.objectMapper.setDefaultTyping(createTrustedDefaultTyping());
this.objectMapper.registerModule(new JobParametersModule());
}