Skip to content

Commit 97df1a7

Browse files
committed
removes jsr310 references
In jackson 3 it is builtin to databind
1 parent 20eb4cd commit 97df1a7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

spring-cloud-function-context/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@
6060
<optional>true</optional>
6161
</dependency>
6262
<dependency>
63-
<groupId>tools.jackson.datatype</groupId>
64-
<artifactId>jackson-datatype-jsr310</artifactId>
65-
<version>3.0.0-rc2</version>
63+
<groupId>tools.jackson.core</groupId>
64+
<artifactId>jackson-databind</artifactId>
6665
</dependency>
6766
<dependency>
6867
<groupId>tools.jackson.datatype</groupId>

spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/config/ContextFunctionCatalogAutoConfiguration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import tools.jackson.databind.SerializationFeature;
3535
import tools.jackson.databind.cfg.MapperBuilder;
3636
import tools.jackson.datatype.joda.JodaModule;
37-
import tools.jackson.datatype.jsr310.JavaTimeModule;
3837

3938
import org.springframework.beans.BeanUtils;
4039
import org.springframework.beans.factory.BeanFactory;
@@ -258,7 +257,6 @@ private JsonMapper jackson(ApplicationContext context) {
258257
catch (Exception e) {
259258
builder = tools.jackson.databind.json.JsonMapper.builder();
260259
}
261-
builder = builder.addModule(new JavaTimeModule());
262260
builder = builder.addModule(new JodaModule());
263261

264262
if (KotlinDetector.isKotlinPresent()) {

0 commit comments

Comments
 (0)