Class RunMojo

All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="run", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=PREPARE_PACKAGE, aggregator=true) @Execute(phase=PROCESS_CLASSES) public class RunMojo extends AbstractTestResourcesMojo

Executes a Micronaut application in development mode.

It watches for changes in the project tree. If there are changes in the pom.xml file, dependencies will be reloaded. If the changes are anywhere underneath src/main, it will recompile the project and restart the application.

The plugin can handle changes in all the languages supported by Micronaut: Java, Kotlin and Groovy.

Since:
1.0.0
Author:
Álvaro Sánchez-Mariscal