What each section enables in your Spring Boot 4.0.3 + Java 21 + Thymeleaf + Spring MVC + Actuator build.
com.rollingstone
spring-boot-3-azure-aks-rest-api-poc
0.0.1-SNAPSHOT
app.jar
src/main/resources/templates.
/actuator/health) for AKS probes.
spring-boot-starter-parent.
<properties>
<java.version>21</java.version>
</properties>
resources/templates.
@Controller and @RestController,
routing, JSON binding, and embedded Tomcat.
spring-boot-starter-thymeleaf-test + spring-boot-starter-webmvc-test
add test support for MVC flows and template rendering.
<finalName>app</finalName> makes the built artifact
target/app.jar (useful for Dockerfiles and deployment scripts).
spring-boot-maven-plugin repackages the jar so it runs standalone and
embeds dependencies under BOOT-INF/.
<build>
<finalName>app</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>