Application lifecycle management and multi module maven support #5848
-
I am currently using micronaut 2.5.5 as im new to micronaut i need to understand the application lifecycle, as how it starts the application without any annotation like spring @SpringBootApplication. Also i want to know if there is any support for multi module maven project like spring? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
We don't need an annotation to start Micronaut. See https://micronaut.io/launch?javaVersion=JDK_11&lang=JAVA&build=MAVEN&test=JUNIT&name=demo&package=com.example&type=DEFAULT&version=2.5.9&activity=preview&showing=/src/main/java/com/example/Application.java Regarding the multi-module support, yes that is supported for both Maven and Gradle, but it has nothing to do with Micronaut. You need to configure the multi-project yourself. |
Beta Was this translation helpful? Give feedback.
We don't need an annotation to start Micronaut. See https://micronaut.io/launch?javaVersion=JDK_11&lang=JAVA&build=MAVEN&test=JUNIT&name=demo&package=com.example&type=DEFAULT&version=2.5.9&activity=preview&showing=/src/main/java/com/example/Application.java
Regarding the multi-module support, yes that is supported for both Maven and Gradle, but it has nothing to do with Micronaut. You need to configure the multi-project yourself.