Fork me on GitHub

Maven plugin to execute and package Micronaut applications.

This plugin has the following features:

  1. Running in development mode.

  2. Packaging an application into different formats: fat JAR, native image, Docker, etc.

  3. Generating Dockerfiles.

  4. Deploying Docker images to different registries.

  5. Using Micronaut AOT.

  6. Integration with Micronaut Test Resources.


Add the plugin to your build/plugins section:

<project xmlns="" xmlns:xsi=""
    <!-- ... -->

        <!-- ... -->

            <!-- ... -->


The <packaging> part is important since the plugin support several packaging types. The default is jar.

For snapshot versions, you need the Sonatype OSSRH Snapshot repository:


    <!-- ... -->


        <!-- ... -->