Skip to content

Commit

Permalink
chore(main): #182 Upgrade java to 21, node to 20...
Browse files Browse the repository at this point in the history
and spring to 3.1.5

close #182
  • Loading branch information
Marthym committed Oct 29, 2023
1 parent f7984e3 commit 9ab324c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
nodejs 18.16.1
java temurin-17.0.6+10
nodejs 20.9.0
java temurin-21.0.1+12.0.LTS
maven 3.9.5
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.2</version>
<version>3.1.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

Expand All @@ -23,7 +23,7 @@
</modules>

<properties>
<java.version>17</java.version>
<java.version>21</java.version>

<db.driver>org.sqlite.JDBC</db.driver>
<db.url>jdbc:sqlite:file:${project.build.directory}/jooq_baywatch.db</db.url>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package fr.ght1pc9kc.baywatch.techwatch.infra.config;

import fr.ght1pc9kc.baywatch.techwatch.api.model.Feed;
import fr.ght1pc9kc.baywatch.techwatch.api.model.News;
import fr.ght1pc9kc.baywatch.techwatch.api.model.State;
import fr.ght1pc9kc.baywatch.techwatch.infra.model.FeedMixin;
import fr.ght1pc9kc.baywatch.techwatch.infra.model.NewsMixin;
import fr.ght1pc9kc.baywatch.techwatch.infra.model.StateMixin;
import lombok.extern.slf4j.Slf4j;
Expand All @@ -19,7 +17,6 @@ public Jackson2ObjectMapperBuilderCustomizer techwatchJacksonMapperCustomizer()
return builder -> {
log.debug("Configure Techwatch Jackson Mapper");
builder.mixIn(News.class, NewsMixin.class);
builder.mixIn(Feed.class, FeedMixin.class);
builder.mixIn(State.class, StateMixin.class);
};
}
Expand Down

0 comments on commit 9ab324c

Please sign in to comment.