You can use SDKMAN to manage your Java and Maven runtimes, and there is a very good tutorial about how to use SDKMAN here.
- Java 17
sdk install java 17.0.3.6.1-amzn
- Maven 3.8.5
sdk install maven 3.8.5
mvn clean install
mvn test
mvn spring-boot:run
I used IntelliJ Idea from JetBrains to build this application but you also can use Eclipse, or Netbeans to run this application.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Boot DevTools
- Spring Web
The following guides illustrate how to use some features concretely: