Skip to content

Bump Springboot@3.3.4 - added compilation support to native-image #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ FROM eclipse-temurin:21-jre-alpine AS builder
ARG JAR_FILE=/usr/src/app/target/*.jar
COPY --from=maven ${JAR_FILE} app.jar

RUN adduser -D user

RUN mkdir /etc/certs \
RUN adduser -D user \
&& mkdir /etc/certs \
&& mkdir -p /data/snapshots \
&& chown -R user:user /etc/certs \
&& chown -R user:user /data/snapshots
Expand Down
2 changes: 1 addition & 1 deletion docker-env/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SSL_KEY_STORE=classpath:keystore/switcherapi.p12
SSL_KEY_PASSWORD=
SSL_KEY_ALIAS=switcherapi

SWITCHER_URL=https://switcherapi.com/api
SWITCHER_URL=https://api.switcherapi.com
SWITCHER_KEY=
SWITCHER_ENV=default
SWITCHER_DOMAIN="Switcher API"
Expand Down
15 changes: 7 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.3</version>
<version>3.3.4</version>
</parent>

<properties>
Expand All @@ -69,11 +69,11 @@
<flapdoodle.embed.mongo.version>4.16.1</flapdoodle.embed.mongo.version>

<!-- Managed -->
<spring-webmvc.version>6.1.13</spring-webmvc.version>
<tomcat-embed-core.version>10.1.30</tomcat-embed-core.version>
<commons-compress.version>1.27.1</commons-compress.version>

<!-- Plugins -->
<native-image-plugin.version>0.10.3</native-image-plugin.version>
<maven-compiler.version>3.13.0</maven-compiler.version>
<sonar.version>4.0.0.4121</sonar.version>
<jacoco.version>0.8.12</jacoco.version>
Expand Down Expand Up @@ -311,12 +311,6 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring-webmvc.version}</version>
</dependency>

<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
Expand Down Expand Up @@ -356,6 +350,11 @@
</pluginManagement>

<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-image-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
Expand Down