For a few reasons! Josh wanted to try out micronaut launch, the jupiter testing framework and getting Java set up on his home PC.
The other (potentially main) purpose was creating a demo for Creating Microservices with Micronaut
presentation.
Random aside - I came into Micronaut a skeptic. I've used several JAVA frameworks that either didn't meet my standard of testability, speed, or ease-of-use. Micronaut absolutely blew me away with ease of starting, usage, and integration testing support. Subsecond (0.2 seconds on average) integration tests have me drooling at the scenario of having a nicer suite of functional integration set that can run in a reasonable amount of time.
- Run Tests -
./mvnw test
- Run Compile -
./mvnw compile
- Create a JAR -
./mvnw package
- Run Server -
./mvnw exec:exec
- Speedier Run Server -
mvn exec:exec