Skip to content

Commit f76bd17

Browse files
committed
new versions
1 parent 61418ca commit f76bd17

File tree

2 files changed

+15
-32
lines changed

2 files changed

+15
-32
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,27 @@ Future: do more stuff
151151
`./mvnw versions:display-dependency-updates`
152152
`./mvnw versions:display-plugin-updates`
153153

154+
## Create docker image using buildpack
155+
156+
./mvnw spring-boot:build-image
157+
158+
docker run --rm -p 8080:8080 docker.io/library/note-app:3.2.1
159+
160+
154161
## Generate native executable:
155162
- Required: GraalVM 22.3+ (for Spring Boot 3)
156163
- Install using sdkman
157-
`sdk install java 22.3.r17.ea-nik`
158-
`sdk use java 22.3.r17.ea-nik`
164+
- https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html#native-image.developing-your-first-application.native-build-tools.prerequisites
165+
`sdk install java 22.3.r17-nik`
166+
`sdk use java 22.3.r17-nik`
159167

160168
- Create native executable `./mvnw native:compile -Pnative,dev`
161169
- Run it `./target/note-app`
162170

163171
OR
164172

165173
- Generate docker image with native executable `./mvnw spring-boot:build-image -Pnative,dev`
166-
- Run it `docker run --rm -p 8080:8080 docker.io/library/note-app:3.0.0-RC1`
174+
- Run it `docker run --rm -p 8080:8080 docker.io/library/note-app:3.2.1`
167175

168176

169177
## Native Test:

pom.xml

+4-29
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>3.2.1</version>
9+
<version>3.2.2</version>
1010
<relativePath/> <!-- lookup parent from repository -->
1111
</parent>
1212

@@ -17,9 +17,9 @@
1717
<java.version>21</java.version>
1818

1919
<springdoc-openapi-ui.version>2.3.0</springdoc-openapi-ui.version>
20-
<mapstruct.version>1.5.5.Final</mapstruct.version>
20+
<mapstruct.version>1.6.0.Beta1</mapstruct.version>
2121

22-
<selenide.version>7.0.3</selenide.version>
22+
<selenide.version>7.1.0</selenide.version>
2323

2424
<wro4j.version>1.9.0</wro4j.version>
2525
<spock.version>2.4-M1-groovy-4.0</spock.version>
@@ -34,7 +34,7 @@
3434
<sonar-maven-plugin.version>3.10.0.2594</sonar-maven-plugin.version>
3535
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
3636
<maven.checkstyle.plugin.version>3.3.0</maven.checkstyle.plugin.version>
37-
<puppycrawl.checkstyle.version>10.12.5</puppycrawl.checkstyle.version>
37+
<puppycrawl.checkstyle.version>10.13.0</puppycrawl.checkstyle.version>
3838
<puppycrawl.checkstyle.config.file>src/main/resources/checkstyle.xml</puppycrawl.checkstyle.config.file>
3939

4040

@@ -561,31 +561,6 @@
561561
</execution>
562562
</executions>
563563
</plugin>
564-
565-
<plugin>
566-
<groupId>org.openrewrite.maven</groupId>
567-
<artifactId>rewrite-maven-plugin</artifactId>
568-
<version>5.2.1</version>
569-
<configuration>
570-
<activeRecipes>
571-
<recipe>org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1</recipe>
572-
<recipe>org.openrewrite.java.migrate.UpgradeToJava17</recipe>
573-
</activeRecipes>
574-
</configuration>
575-
<dependencies>
576-
<dependency>
577-
<groupId>org.openrewrite.recipe</groupId>
578-
<artifactId>rewrite-spring</artifactId>
579-
<version>5.0.1</version>
580-
</dependency>
581-
<dependency>
582-
<groupId>org.openrewrite.recipe</groupId>
583-
<artifactId>rewrite-migrate-java</artifactId>
584-
<version>2.0.1</version>
585-
</dependency>
586-
</dependencies>
587-
</plugin>
588-
589564
</plugins>
590565
</build>
591566

0 commit comments

Comments
 (0)