Git Product home page Git Product logo

micronaut-maven-plugin's People

Contributors

alvarosanchez avatar andriy-dmytruk avatar auke- avatar burtbeckwith avatar dalbrekt avatar dependabot[bot] avatar dvdwende avatar graemerocher avatar hboutemy avatar ilopmar avatar jlleitschuh avatar karimaazergui avatar melix avatar micronaut-build avatar mithenks avatar n0tl3ss avatar renovate[bot] avatar ribafish avatar roar-skinderviken avatar sdelamo avatar sullis avatar timyates avatar tris10au avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

micronaut-maven-plugin's Issues

Native image plugin configuration args are not propagated to docker-native package

 <plugin>
                <groupId>org.graalvm.nativeimage</groupId>
                <artifactId>native-image-maven-plugin</artifactId>
                <configuration>
                    <buildArgs combine.children="append">
                        <buildArg>--verbose</buildArg>
                        <buildArg>--debug</buildArg>
                    </buildArgs>
                </configuration>
            </plugin>

When built with:

./mvnw package -Dpackaging=docker-native

The output doesn't contain verbose nor debug info:

[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< micronaut.mushop:carts >-----------------------
[INFO] Building carts 1.0.3
[INFO] ---------------------------[ docker-native ]----------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ carts ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ carts ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- micronaut-maven-plugin:2.0.0:docker-native (default-docker-native) @ carts ---
[INFO] Exposing port: 8080
[INFO] Using BASE_IMAGE: ghcr.io/graalvm/graalvm-ce:java11-21.1.0
[INFO] Using CLASS_NAME: mushop.carts.Application
[INFO] Step 1/15 : ARG BASE_IMAGE
[INFO] 
[INFO] Step 2/15 : FROM ${BASE_IMAGE} AS builder
[INFO] 
[INFO]  ---> 9762c6e631f0
[INFO] Step 3/15 : RUN gu install native-image
[INFO] 
[INFO]  ---> Using cache
[INFO]  ---> 904bde2522de
[INFO] Step 4/15 : WORKDIR /home/app
[INFO] 
[INFO]  ---> Using cache
[INFO]  ---> 23f256f65bcc
[INFO] Step 5/15 : COPY classes /home/app/classes
[INFO] 
[INFO]  ---> f12856de1fef
[INFO] Step 6/15 : COPY dependency/* /home/app/libs/
[INFO] 
[INFO]  ---> d04d2a42d85d
[INFO] Step 7/15 : ARG CLASS_NAME
[INFO] 
[INFO]  ---> Running in cd026a2416f6
[INFO] Removing intermediate container cd026a2416f6
[INFO]  ---> 186259cd9dbb
[INFO] Step 8/15 : ARG GRAALVM_ARGS=""
[INFO] 
[INFO]  ---> Running in c530c56d4606
[INFO] Removing intermediate container c530c56d4606
[INFO]  ---> dc4686c36a8d
[INFO] Step 9/15 : RUN native-image ${GRAALVM_ARGS} -H:Class=${CLASS_NAME} -H:Name=application --no-fallback -cp "/home/app/libs/*:/home/app/classes/"
[INFO] 
[INFO]  ---> Running in a92541235169
[INFO] [application:25]    classlist: 
[INFO]   6,163.03 ms,  1.19 GB
[INFO] 
[INFO] [application:25]        (cap): 
[INFO]     825.65 ms, 
[INFO]  1.19 GB
[INFO] WARNING: Method java.sql.SQLXML.<init>() not found.
[INFO] WARNING: Method java.sql.SQLXML.<init>() not found.
[INFO] WARNING: Method java.sql.SQLXML.<init>() not found.
[INFO] WARNING: Method java.sql.SQLXML.<init>() not found.
[INFO] WARNING: Method java.sql.SQLXML.<init>() not found.
[INFO] WARNING: Method java.sql.SQLXML.<init>() not found.
[INFO] [application:25]        setup: 
[INFO]   3,560.54 ms,  1.19 GB
[INFO] [application:25]     (clinit): 
[INFO]   9,696.40 ms,  7.75 GB
[INFO] [application:25]   (typeflow): 172,666.16 ms,  7.75 GB
[INFO] [application:25]    (objects): 364,850.88
[INFO]  ms, 
[INFO]  7.75 GB
[INFO] [application:25]   (features): 197,726.79 ms, 
[INFO]  7.75 GB
[INFO] [application:25]     analysis: 
[INFO] 768,426.65 ms, 
[INFO]  7.75
[INFO]  GB
[INFO] [application:25]     universe: 
[INFO]  13,251.54 ms,  7.75 GB
[INFO] [application:25]      (parse):  
[INFO] 54,987.66 ms,  8.91 GB
[INFO] [application:25]     (inline):  38,050.66 ms, 
[INFO] 11.97 GB
[INFO] [application:25]    (compile): 
[INFO]  83,984.84 ms, 12.81 GB
[INFO] [application:25]      compile: 
[INFO] 193,703.72 ms, 12.82 GB
[INFO] [application:25]        image: 
[INFO]  79,644.92 ms, 10.67 GB
[INFO] [application:25]        write:   
[INFO] 5,469.40 ms, 10.67 GB
[INFO] # Printing build artifacts to: application.build_artifacts.txt
[INFO] [application:25] 
[INFO]      [total]: 1,071,197.47
[INFO]  ms, 10.67 GB
[INFO] Removing intermediate container a92541235169
[INFO]  ---> 121ae3002294
[INFO] Step 10/15 : FROM frolvlad/alpine-glibc:alpine-3.12
[INFO] 
[INFO]  ---> 39c4d33bd807
[INFO] Step 11/15 : RUN apk update && apk add libstdc++
[INFO] 
[INFO]  ---> Using cache
[INFO]  ---> e7c9d9f695f7
[INFO] Step 12/15 : COPY --from=builder /home/app/application /app/application
[INFO] 
[INFO]  ---> b4531e597f1c
[INFO] Step 13/15 : ARG PORT=8080
[INFO] 
[INFO]  ---> Running in 138e98817b18
[INFO] Removing intermediate container 138e98817b18
[INFO]  ---> e46c00e58add
[INFO] Step 14/15 : EXPOSE ${PORT}
[INFO] 
[INFO]  ---> Running in 5e23252584f3
[INFO] Removing intermediate container 5e23252584f3
[INFO]  ---> 5c3d4a61af8d
[INFO] Step 15/15 : ENTRYPOINT ["/app/application"]
[INFO] 
[INFO]  ---> Running in 6b31f09936e2
[INFO] Removing intermediate container 6b31f09936e2
[INFO]  ---> 2944cd66d686
[INFO] Successfully built 2944cd66d686
[INFO] Successfully tagged iad.ocir.io/***/mushop/carts-native:1.0.3
[INFO] 
[INFO] --- micronaut-maven-plugin:2.0.0:docker-push (default-docker-push) @ carts ---
[INFO] Pushing image: iad.ocir.io/***/mushop/carts-native:1.0.3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18:47 min
[INFO] Finished at: 2021-05-27T15:53:45Z
[INFO] ------------------------------------------------------------------------

Allow watches on target

While I appreciate the fully managed restart process, I'd like to be able to control my own processes. So, I'd like the plugin to issue a restart, but only after the build is completed. The least intrusive way of doing that IMO is to allow me to configure a watch on target/classes if I so choose.

It would also be nice, if I could tell the restart it needn't bother compiling and to skip that and just re-launch.

Create a Maven plugin

It should run the application, and recompile and restart upon source code changes.

Error while running native image

The application here https://github.com/micronaut-guides/creating-your-first-micronaut-app.git fails to run as a graalvm native image when generated using ./mvnw package -Dpackaging=docker-native command which uses micronaut maven plugin. The docker image generated gives the following error

/app/application: /usr/lib/libstdc++.so.6: no version information available (required by /app/application)
/app/application: Relink `/usr/lib/libgcc_s.so.1' with `/usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memset'

Do not check GraalVM presence, if packaging docker-native

Hi,

the current implementation of mvn package -Dpackaging=docker-native use a temporary docker container to build the native image. This does not require you to have an properly setup of GraalVM on your host machine. Nevertheless, the command still checks if you have set up GraalVM on your host machine or otherwise fails.

Please omit this precondition. I presume the initial checks in DockerNativeMojo#execute need to be changed/moved.

Greets, Aaron

Implement custom `deploy` lifecycle

At the moment, Docker images can be pushed to a Docker registry using jib:build, but this only works for docker packaging. docker-native doesn't use Jib and therefore jib:build won't work.

This plugin should implement a custom deploy lifecycle phase, similarly to the package one, so that depending on the packaging, it pushes the right image to a Docker registry.

For simplicity, we could rely on the Jib plugin configuration, and if the packaging is set to docker-native use those values to configure a docker-java client and push the image to the remote.

Packaging docker-native fails, if multiple modules are present

Hi,

I cannot build multiple micronaut native images with maven, if they are modules in a pom.xml. I've a parent pom.xml with multiple modules each containing a micronaut project in a subdirectory. While the parent module (packaging=pom) and the first module are build properly, the second always fails.

Parent pom.xml looks like:

  <packaging>pom</packaging>

  <parent>
    <groupId>io.micronaut</groupId>
    <artifactId>micronaut-parent</artifactId>
    <version>2.5.4</version>
  </parent>

  <groupId>com.company.project</groupId>
  <artifactId>framework-parent</artifactId>
  <version>0.1</version>

  <properties>
    <packaging>jar</packaging>
  </properties>

The module pom.xml for the micronaut projects look all like:

    <parent>
        <groupId>com.company.project</groupId>
        <artifactId>framework-parent</artifactId>
        <version>0.1</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>module1</artifactId>
    <packaging>${packaging}</packaging>

    <properties>
        <exec.mainClass>com.company.project.module1.Application</exec.mainClass>
    </properties>

Error message is:

[INFO] Error: Main entry point class 'com.company.project.module2.Application' not found.

[INFO] Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception

[INFO] Error: Image build request failed with exit status 1

[ERROR] Failed to execute goal io.micronaut.build:micronaut-maven-plugin:2.0.0:docker-native (default-docker-native) on project module2: Execution default-docker-native of goal io.micronaut.build:micronaut-maven-plugin:2.0.0:docker-native failed: Could not build image: The command '/bin/sh -c native-image ${GRAALVM_ARGS} -H:Class=${CLASS_NAME} -H:Name=application --no-fallback -cp "/home/app/libs/*:/home/app/classes/"' returned a non-zero code: 1 -> [Help 1]

Current workaround is to package every module separately via mvn -pl module1 ....

The jar packaging mvn -DskipTests package (default packaging=jar) works fine.

Greets, Aaron

Document how to add native image arguments to the Docker build

There doesn't appear to be documentation on how to add native image arguments to docker-native packaging at https://micronaut-projects.github.io/micronaut-maven-plugin/latest/examples/package.html

Adding native image arguments to the native image plugin doesn't seem to work:

      <plugin>
        <groupId>org.graalvm.nativeimage</groupId>
        <artifactId>native-image-maven-plugin</artifactId>
        <configuration>
          <buildArgs>
            <arg>--initialize-at-run-time=io.micronaut.jaxrs.runtime.ext.impl.LinkImpl</arg>             
          </buildArgs>
        </configuration>
      </plugin>   

Note that this is inconsistent with Gradle plugin which adds native image arguments passed via the nativeImage block to docker native builds as well

NPE when executing goal io.micronaut.build:micronaut-maven-plugin:1.1.5:docker-native

Since micronaut parent version >= 2.3.1 I'm getting the following error when trying to start a native build:

Failed to execute goal io.micronaut.build:micronaut-maven-plugin:1.1.5:docker-native (default-docker-native) on project xyz: Execution default-docker-native of goal io.micronaut.build:micronaut-maven-plugin:1.1.5:docker-native failed: Cannot invoke "java.util.List.contains(Object)" because the return value of "java.util.Map.get(Object)" is null

From the changes I'm just guessing that this might be related to:

if (!mavenProject.getInjectedProfileIds().get("io.micronaut:micronaut-parent:" + micronautVersion).contains("graalvm")) {

Interpolation of maven properties in jib configuration doesn't work

The documentation of micronaut-maven-plugin states, that the jib configuration options <to><tags>, <to><image> and <from><image> can be used to customise the docker build process.

However in case these configuration contains maven properties like $project.name, $project.version, ... then these properties are not interpolated and the docker build fails.

Job misconfiguration when base image is configured

When the base image is configured:

 <plugin>
                <groupId>com.google.cloud.tools</groupId>
                <artifactId>jib-maven-plugin</artifactId>
                <version>3.0.0</version>
                <configuration>
                    <to>
                        <image>xxxx</image>
                    </to>
                    <from>
                        <image>ghcr.io/graalvm/graalvm-ce:java11-21.1.0</image>
                    </from>
                </configuration>
            </plugin>

Then the build fails. Initially I thought it's jib problem , so I created GoogleContainerTools/jib#3250 but according to them it is not.

Implement mn:dockerfile Mojo

Should allow using an existing Dockerfile if present, and use it as a template. Or generate a new one if missing.

The generated Dockerfile should support different runtimes (eg: plain JAR, AWS Lambda, Oracle Cloud, GCP, Azure, etc).

NPE when using mn:run on brand new project

I'm creating a brand new project using

mn create-function-app stamp-duty-calculator --features aws-lambda -b=maven
cd stamp-duty-calculator
mvn clean mn:run

and I get a NullPointerException.

What am I missing here please?

I've tried with JDK 8 and JDK 11. I've tried including the maven plugin in pom.xml and turning off watching for changes. Nothing made a difference.

OS: OSX Catalina
Maven:3.6.3 (running with OpenJDK JDK 11)
Command-line micronaut version: 2.0.0 (running with JDK 1.8.0_252)

Debug log output below:-

/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/xxx/IdeaProjects/stamp-duty-calculator "-Dmaven.home=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3" "-Dclassworlds.conf=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf" "-Dmaven.ext.class.path=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven-event-listener.jar" "-javaagent:/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=61806:/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.6.0.jar" org.codehaus.classworlds.Launcher -Didea.version2020.1.1 -X clean mn:run
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3
Java version: 11.0.7, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.5", arch: "x86_64", family: "mac"
[DEBUG]   Included /Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven-event-listener.jar
[DEBUG] Populating class realm maven.ext
[DEBUG]   Included /Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven-event-listener.jar
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < maven.ext
[DEBUG]   Imported: javax.annotation.security.* < maven.ext
[DEBUG]   Imported: javax.enterprise.inject.* < maven.ext
[DEBUG]   Imported: javax.enterprise.util.* < maven.ext
[DEBUG]   Imported: javax.inject.* < maven.ext
[DEBUG]   Imported: org.apache.maven.* < maven.ext
[DEBUG]   Imported: org.apache.maven.artifact < maven.ext
[DEBUG]   Imported: org.apache.maven.classrealm < maven.ext
[DEBUG]   Imported: org.apache.maven.cli < maven.ext
[DEBUG]   Imported: org.apache.maven.configuration < maven.ext
[DEBUG]   Imported: org.apache.maven.exception < maven.ext
[DEBUG]   Imported: org.apache.maven.execution < maven.ext
[DEBUG]   Imported: org.apache.maven.execution.scope < maven.ext
[DEBUG]   Imported: org.apache.maven.lifecycle < maven.ext
[DEBUG]   Imported: org.apache.maven.model < maven.ext
[DEBUG]   Imported: org.apache.maven.monitor < maven.ext
[DEBUG]   Imported: org.apache.maven.plugin < maven.ext
[DEBUG]   Imported: org.apache.maven.profiles < maven.ext
[DEBUG]   Imported: org.apache.maven.project < maven.ext
[DEBUG]   Imported: org.apache.maven.reporting < maven.ext
[DEBUG]   Imported: org.apache.maven.repository < maven.ext
[DEBUG]   Imported: org.apache.maven.rtinfo < maven.ext
[DEBUG]   Imported: org.apache.maven.settings < maven.ext
[DEBUG]   Imported: org.apache.maven.toolchain < maven.ext
[DEBUG]   Imported: org.apache.maven.usability < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.* < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.authentication < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.authorization < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.events < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.observers < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.proxy < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.repository < maven.ext
[DEBUG]   Imported: org.apache.maven.wagon.resource < maven.ext
[DEBUG]   Imported: org.codehaus.classworlds < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.* < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.classworlds < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.component < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.configuration < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.container < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.context < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.logging < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.personality < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < maven.ext
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < maven.ext
[DEBUG]   Imported: org.eclipse.aether.* < maven.ext
[DEBUG]   Imported: org.eclipse.aether.artifact < maven.ext
[DEBUG]   Imported: org.eclipse.aether.collection < maven.ext
[DEBUG]   Imported: org.eclipse.aether.deployment < maven.ext
[DEBUG]   Imported: org.eclipse.aether.graph < maven.ext
[DEBUG]   Imported: org.eclipse.aether.impl < maven.ext
[DEBUG]   Imported: org.eclipse.aether.installation < maven.ext
[DEBUG]   Imported: org.eclipse.aether.internal.impl < maven.ext
[DEBUG]   Imported: org.eclipse.aether.metadata < maven.ext
[DEBUG]   Imported: org.eclipse.aether.repository < maven.ext
[DEBUG]   Imported: org.eclipse.aether.resolution < maven.ext
[DEBUG]   Imported: org.eclipse.aether.spi < maven.ext
[DEBUG]   Imported: org.eclipse.aether.transfer < maven.ext
[DEBUG]   Imported: org.eclipse.aether.version < maven.ext
[DEBUG]   Imported: org.fusesource.jansi.* < maven.ext
[DEBUG]   Imported: org.slf4j.* < maven.ext
[DEBUG]   Imported: org.slf4j.event.* < maven.ext
[DEBUG]   Imported: org.slf4j.helpers.* < maven.ext
[DEBUG]   Imported: org.slf4j.spi.* < maven.ext
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: color
[DEBUG] Message styles: debug info warning error success failure strong mojo project
[DEBUG] Reading global settings from /Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/conf/settings.xml
[DEBUG] Reading user settings from /Users/xxx/.m2/settings.xml
[DEBUG] Reading global toolchains from /Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/xxx/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/xxx/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/xxx/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project stamp.duty.calculator:stamp-duty-calculator:jar:0.1: (none)
[DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
[DEBUG] Extension realms for project io.micronaut:micronaut-parent:pom:2.0.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
[DEBUG] Extension realms for project io.micronaut:micronaut-bom:pom:2.0.0: (none)
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
[DEBUG] Resolving plugin prefix mn from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix mn to io.micronaut.build:micronaut-maven-plugin from POM stamp.duty.calculator:stamp-duty-calculator:jar:0.1
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: stamp.duty.calculator:stamp-duty-calculator:jar:0.1
[DEBUG] Tasks:   [clean, mn:run]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO] 
[INFO] ------------< stamp.duty.calculator:stamp-duty-calculator >-------------
[INFO] Building stamp-duty-calculator 0.1
[INFO] --------------------------------[ jar ]---------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Resolving plugin prefix mn from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix mn to io.micronaut.build:micronaut-maven-plugin from POM stamp.duty.calculator:stamp-duty-calculator:jar:0.1
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       stamp.duty.calculator:stamp-duty-calculator:0.1
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile+runtime]
[DEBUG] Repositories (dependencies): [jcenter.bintray.com (https://jcenter.bintray.com, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <directory default-value="${project.build.directory}"/>
  <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <reportDirectory default-value="${project.reporting.outputDirectory}"/>
  <retryOnError default-value="true">${maven.clean.retryOnError}</retryOnError>
  <skip default-value="false">${clean.skip}</skip>
  <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  <verbose>${clean.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          io.micronaut.build:micronaut-maven-plugin:1.0.0:run (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appArguments>${mn.appArgs}</appArguments>
  <debug default-value="false">${mn.debug}</debug>
  <debugPort default-value="5005">${mn.debug.port}</debugPort>
  <debugSuspend default-value="false">${mn.debug.suspend}</debugSuspend>
  <jvmArguments>${mn.jvmArgs}</jvmArguments>
  <mainClass default-value="${exec.mainClass}"/>
  <targetDirectory default-value="${project.build.directory}"/>
  <watchForChanges default-value="true">${mn.watch}</watchForChanges>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1133354, ConflictMarker.markTime=635100, ConflictMarker.nodeCount=67, ConflictIdSorter.graphTime=590753, ConflictIdSorter.topsortTime=356209, ConflictIdSorter.conflictIdCount=33, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=6449063, ConflictResolver.conflictItemCount=66, DefaultDependencyCollector.collectTime=191291932, DefaultDependencyCollector.transformTime=12050025}
[DEBUG] stamp.duty.calculator:stamp-duty-calculator:jar:0.1
[DEBUG]    io.micronaut:micronaut-inject:jar:2.0.0:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.26:compile (version managed from 1.7.26)
[DEBUG]       javax.annotation:javax.annotation-api:jar:1.3.2:compile (version managed from 1.3.2)
[DEBUG]       javax.inject:javax.inject:jar:1:compile
[DEBUG]       io.micronaut:micronaut-core:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]          org.reactivestreams:reactive-streams:jar:1.0.3:compile (version managed from 1.0.3)
[DEBUG]          com.github.spotbugs:spotbugs-annotations:jar:4.0.3:compile (version managed from 4.0.3)
[DEBUG]             com.google.code.findbugs:jsr305:jar:3.0.2:compile (version managed from 3.0.2)
[DEBUG]       org.yaml:snakeyaml:jar:1.26:compile (version managed from 1.26)
[DEBUG]    io.micronaut:micronaut-validation:jar:2.0.0:compile
[DEBUG]       io.micronaut:micronaut-http:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]       javax.validation:validation-api:jar:2.0.1.Final:compile (version managed from 2.0.1.Final)
[DEBUG]    io.micronaut:micronaut-runtime:jar:2.0.0:compile
[DEBUG]       io.micronaut:micronaut-aop:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]       com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile (version managed from 2.11.0)
[DEBUG]          com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile (version managed from 2.11.0)
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile (version managed from 2.11.0)
[DEBUG]       io.reactivex.rxjava2:rxjava:jar:2.2.10:compile (version managed from 2.2.10)
[DEBUG]       com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.0:runtime (version managed from 2.11.0)
[DEBUG]       com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.0:runtime (version managed from 2.11.0)
[DEBUG]    io.micronaut.aws:micronaut-function-aws:jar:2.0.0:compile
[DEBUG]       io.micronaut:micronaut-function:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]       com.amazonaws:aws-lambda-java-core:jar:1.2.1:compile
[DEBUG]    ch.qos.logback:logback-classic:jar:1.2.3:runtime
[DEBUG]       ch.qos.logback:logback-core:jar:1.2.3:runtime
[DEBUG]    org.junit.jupiter:junit-jupiter-api:jar:5.6.2:test
[DEBUG]       org.apiguardian:apiguardian-api:jar:1.1.0:test
[DEBUG]       org.opentest4j:opentest4j:jar:1.2.0:test
[DEBUG]       org.junit.platform:junit-platform-commons:jar:1.6.2:test (version managed from 1.6.2)
[DEBUG]    org.junit.jupiter:junit-jupiter-engine:jar:5.6.2:test
[DEBUG]       org.junit.platform:junit-platform-engine:jar:1.6.2:test (version managed from 1.6.2)
[DEBUG]    io.micronaut.test:micronaut-test-junit5:jar:1.2.0:test
[DEBUG]       io.micronaut.test:micronaut-test-core:jar:1.2.0:test (version managed from 1.2.0)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ stamp-duty-calculator ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=25301, ConflictMarker.markTime=74442, ConflictMarker.nodeCount=3, ConflictIdSorter.graphTime=9262, ConflictIdSorter.topsortTime=12046, ConflictIdSorter.conflictIdCount=3, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=584263, ConflictResolver.conflictItemCount=3, DefaultDependencyCollector.collectTime=23097679, DefaultDependencyCollector.transformTime=857677}
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.5
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.5
[DEBUG]   Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.5:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.5, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@77556fd]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.5:clean' with basic configurator -->
[DEBUG]   (f) directory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target
[DEBUG]   (f) excludeDefaultDirectories = false
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes
[DEBUG]   (f) reportDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target/site
[DEBUG]   (f) retryOnError = true
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target/test-classes
[DEBUG] -- end configuration --
[INFO] Deleting /Users/xxx/IdeaProjects/stamp-duty-calculator/target
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/maven-status/maven-compiler-plugin/compile/null/createdFiles.lst
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/maven-status/maven-compiler-plugin/compile/null/inputFiles.lst
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/maven-status/maven-compiler-plugin/compile/null
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/maven-status/maven-compiler-plugin/compile
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/maven-status/maven-compiler-plugin
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/maven-status
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/application.yml
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$BookRequestHandler$Introspection$$0.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$BookSaved$Introspection$$1.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$Book$Introspection.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/Book.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$BookSaved$Introspection$$0.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$Book$IntrospectionRef.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$BookRequestHandler$Introspection.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$BookSaved$Introspection.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$BookSaved$IntrospectionRef.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$Book$Introspection$$0.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/BookRequestHandler.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/BookSaved.class
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator/$BookRequestHandler$IntrospectionRef.class
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty/calculator
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp/duty
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/stamp
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/META-INF/services/io.micronaut.core.beans.BeanIntrospectionReference
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/META-INF/services
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/META-INF
[INFO] Deleting file /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/logback.xml
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources/annotations
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources
[INFO] Deleting directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target
[DEBUG] Skipping non-existing directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes
[DEBUG] Skipping non-existing directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/test-classes
[DEBUG] Skipping non-existing directory /Users/xxx/IdeaProjects/stamp-duty-calculator/target/site
[INFO] 
[INFO] --- micronaut-maven-plugin:1.0.0:run (default-cli) @ stamp-duty-calculator ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=369521, ConflictMarker.markTime=432031, ConflictMarker.nodeCount=89, ConflictIdSorter.graphTime=162827, ConflictIdSorter.topsortTime=52903, ConflictIdSorter.conflictIdCount=36, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1947971, ConflictResolver.conflictItemCount=86, DefaultDependencyCollector.collectTime=285407773, DefaultDependencyCollector.transformTime=3021034}
[DEBUG] io.micronaut.build:micronaut-maven-plugin:jar:1.0.0
[DEBUG]    org.twdata.maven:mojo-executor:jar:2.3.1:compile
[DEBUG]       org.apache.maven:maven-core:jar:3.5.0:compile
[DEBUG]          org.apache.maven:maven-settings:jar:3.5.0:compile
[DEBUG]          org.apache.maven:maven-settings-builder:jar:3.5.0:compile
[DEBUG]             org.apache.maven:maven-builder-support:jar:3.5.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:3.5.0:compile
[DEBUG]          org.apache.maven:maven-artifact:jar:3.5.0:compile
[DEBUG]          org.apache.maven:maven-model-builder:jar:3.5.0:compile
[DEBUG]             com.google.guava:guava:jar:20.0:compile
[DEBUG]          org.apache.maven:maven-resolver-provider:jar:3.5.0:compile
[DEBUG]          org.apache.maven.resolver:maven-resolver-impl:jar:1.0.3:compile
[DEBUG]          org.apache.maven.resolver:maven-resolver-spi:jar:1.0.3:compile
[DEBUG]          org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile
[DEBUG]             commons-io:commons-io:jar:2.5:compile
[DEBUG]          org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.3:compile
[DEBUG]             javax.enterprise:cdi-api:jar:1.0:compile
[DEBUG]                javax.annotation:jsr250-api:jar:1.0:compile
[DEBUG]             org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.3:compile
[DEBUG]          com.google.inject:guice:jar:no_aop:4.0:compile
[DEBUG]             javax.inject:javax.inject:jar:1:compile
[DEBUG]             aopalliance:aopalliance:jar:1.0:compile
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.24:compile
[DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile
[DEBUG]          org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile
[DEBUG]          org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:compile
[DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]          org.apache.commons:commons-lang3:jar:3.5:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.5.0:compile
[DEBUG]       org.apache.maven:maven-plugin-api:jar:3.5.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:2.1:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.25:compile
[DEBUG]    org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:compile
[DEBUG]       org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:compile
[DEBUG]    io.methvin:directory-watcher:jar:0.9.9:compile
[DEBUG]       net.java.dev.jna:jna:jar:5.5.0:compile
[DEBUG] Created new class realm plugin>io.micronaut.build:micronaut-maven-plugin:1.0.0
[DEBUG] Importing foreign packages into class realm plugin>io.micronaut.build:micronaut-maven-plugin:1.0.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>io.micronaut.build:micronaut-maven-plugin:1.0.0
[DEBUG]   Included: io.micronaut.build:micronaut-maven-plugin:jar:1.0.0
[DEBUG]   Included: org.twdata.maven:mojo-executor:jar:2.3.1
[DEBUG]   Included: org.apache.maven:maven-builder-support:jar:3.5.0
[DEBUG]   Included: com.google.guava:guava:jar:20.0
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG]   Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.3
[DEBUG]   Included: com.google.inject:guice:jar:no_aop:4.0
[DEBUG]   Included: aopalliance:aopalliance:jar:1.0
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.24
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.commons:commons-lang3:jar:3.5
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.1
[DEBUG]   Included: org.apache.maven.resolver:maven-resolver-util:jar:1.4.1
[DEBUG]   Included: io.methvin:directory-watcher:jar:0.9.9
[DEBUG]   Included: net.java.dev.jna:jna:jar:5.5.0
[DEBUG] Configuring mojo io.micronaut.build:micronaut-maven-plugin:1.0.0:run from plugin realm ClassRealm[plugin>io.micronaut.build:micronaut-maven-plugin:1.0.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@77556fd]
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=279787, ConflictMarker.markTime=66751, ConflictMarker.nodeCount=67, ConflictIdSorter.graphTime=132175, ConflictIdSorter.topsortTime=38992, ConflictIdSorter.conflictIdCount=33, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1139810, ConflictResolver.conflictItemCount=66, DefaultDependencyCollector.collectTime=8002108, DefaultDependencyCollector.transformTime=1701332}
[DEBUG] stamp.duty.calculator:stamp-duty-calculator:jar:0.1
[DEBUG]    io.micronaut:micronaut-inject:jar:2.0.0:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.26:compile (version managed from 1.7.26)
[DEBUG]       javax.annotation:javax.annotation-api:jar:1.3.2:compile (version managed from 1.3.2)
[DEBUG]       javax.inject:javax.inject:jar:1:compile
[DEBUG]       io.micronaut:micronaut-core:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]          org.reactivestreams:reactive-streams:jar:1.0.3:compile (version managed from 1.0.3)
[DEBUG]          com.github.spotbugs:spotbugs-annotations:jar:4.0.3:compile (version managed from 4.0.3)
[DEBUG]             com.google.code.findbugs:jsr305:jar:3.0.2:compile (version managed from 3.0.2)
[DEBUG]       org.yaml:snakeyaml:jar:1.26:compile (version managed from 1.26)
[DEBUG]    io.micronaut:micronaut-validation:jar:2.0.0:compile
[DEBUG]       io.micronaut:micronaut-http:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]       javax.validation:validation-api:jar:2.0.1.Final:compile (version managed from 2.0.1.Final)
[DEBUG]    io.micronaut:micronaut-runtime:jar:2.0.0:compile
[DEBUG]       io.micronaut:micronaut-aop:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]       com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile (version managed from 2.11.0)
[DEBUG]          com.fasterxml.jackson.core:jackson-annotations:jar:2.11.0:compile (version managed from 2.11.0)
[DEBUG]          com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile (version managed from 2.11.0)
[DEBUG]       io.reactivex.rxjava2:rxjava:jar:2.2.10:compile (version managed from 2.2.10)
[DEBUG]       com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.0:runtime (version managed from 2.11.0)
[DEBUG]       com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.0:runtime (version managed from 2.11.0)
[DEBUG]    io.micronaut.aws:micronaut-function-aws:jar:2.0.0:compile
[DEBUG]       io.micronaut:micronaut-function:jar:2.0.0:compile (version managed from 2.0.0)
[DEBUG]       com.amazonaws:aws-lambda-java-core:jar:1.2.1:compile
[DEBUG]    ch.qos.logback:logback-classic:jar:1.2.3:runtime
[DEBUG]       ch.qos.logback:logback-core:jar:1.2.3:runtime
[DEBUG]    org.junit.jupiter:junit-jupiter-api:jar:5.6.2:test
[DEBUG]       org.apiguardian:apiguardian-api:jar:1.1.0:test
[DEBUG]       org.opentest4j:opentest4j:jar:1.2.0:test
[DEBUG]       org.junit.platform:junit-platform-commons:jar:1.6.2:test (version managed from 1.6.2)
[DEBUG]    org.junit.jupiter:junit-jupiter-engine:jar:5.6.2:test
[DEBUG]       org.junit.platform:junit-platform-engine:jar:1.6.2:test (version managed from 1.6.2)
[DEBUG]    io.micronaut.test:micronaut-test-junit5:jar:1.2.0:test
[DEBUG]       io.micronaut.test:micronaut-test-core:jar:1.2.0:test (version managed from 1.2.0)
[DEBUG] Configuring mojo 'io.micronaut.build:micronaut-maven-plugin:1.0.0:run' with basic configurator -->
[DEBUG]   (f) appArguments = []
[DEBUG]   (f) debug = false
[DEBUG]   (f) debugPort = 5005
[DEBUG]   (f) debugSuspend = false
[DEBUG]   (f) jvmArguments = []
[DEBUG]   (f) targetDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target
[DEBUG]   (f) watchForChanges = true
[DEBUG] -- end configuration --
[DEBUG] Resolving source directories...
[DEBUG] Found source: /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java
[DEBUG] Compiling the project
[DEBUG] Running executeMojo for Plugin [org.apache.maven.plugins:maven-resources-plugin]
[DEBUG] Attempting to load plugin Plugin [org.apache.maven.plugins:maven-resources-plugin] using pluginManager org.apache.maven.plugin.DefaultBuildPluginManager@2b22a1cc and repositories [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=138864, ConflictMarker.markTime=147743, ConflictMarker.nodeCount=68, ConflictIdSorter.graphTime=188833, ConflictIdSorter.topsortTime=41598, ConflictIdSorter.conflictIdCount=28, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1353838, ConflictResolver.conflictItemCount=67, DefaultDependencyCollector.collectTime=151193172, DefaultDependencyCollector.transformTime=1912245}
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:3.1.0
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.1.0:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:3.1.1:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.0.0:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:2.0.1:compile
[DEBUG]       org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG]    commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.24:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.1.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.1.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.1.0
[DEBUG]   Included: org.apache.maven.plugins:maven-resources-plugin:jar:3.1.0
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.1.0
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:3.1.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.0.0
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.24
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.1.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@77556fd]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:3.1.0:resources' with basic configurator -->
[DEBUG]   (f) addDefaultExcludes = true
[DEBUG]   (f) buildFilters = []
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (f) fileNameFiltering = false
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: stamp.duty.calculator:stamp-duty-calculator:0.1 @ /Users/xxx/IdeaProjects/stamp-duty-calculator/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@8851ce1
[DEBUG]   (f) skip = false
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = true
[DEBUG] -- end configuration --
[DEBUG] properties used {jaeger.version=1.2.0, flyway.version=6.4.3, java.specification.version=11, java.vendor.url=https://adoptopenjdk.net/, jna.version=5.3.1, micronaut.aws.version=2.0.0, sun.boot.library.path=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/lib, sun.java.command=org.codehaus.classworlds.Launcher -Didea.version2020.1.1 -X clean mn:run, jdk.debug=release, maven.version=3.6.3, kafka.version=2.5.0, java.specification.name=Java Platform API Specification, java.vm.specification.vendor=Oracle Corporation, junit5.version=5.6.2, java.runtime.version=11.0.7+10, micronaut.openapi.version=1.5.1, java.vendor.version=AdoptOpenJDK, micrometer.version=1.5.1, gorm.hibernate.version=7.1.0.M1, project.baseUri=file:/Users/xxx/IdeaProjects/stamp-duty-calculator/, hibernate.version=5.4.18.Final, micronaut.elasticsearch.version=2.0.0, java.io.tmpdir=/var/folders/bg/shhfy43n5s30yktk7dp7dk500000gn/T/, java.version=11.0.7, reactor.version=3.3.6.RELEASE, java.vm.specification.name=Java Virtual Machine Specification, mongo.reactive.version=4.0.3, java.library.path=/Users/xxx/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:., java.vendor=AdoptOpenJDK, mariadb.version=2.6.0, micronaut.mongo.version=2.1.0, google.function.framework.version=1.0.1, azure.function.version=1.3.1, user.timezone=, java.vm.specification.version=11, maven.compiler.source=11, user.home=/Users/xxx, spring.version=5.2.7.RELEASE, idea.version2020.1.1=true, micronaut.cassandra.version=2.0.0, os.version=10.15.5, micronaut.redis.version=2.2.0, micronaut.reactor.version=1.0.0, java.vm.name=OpenJDK 64-Bit Server VM, micronaut.netflix.version=2.0.0, micronaut.rss.version=2.1.0, micronaut.azure.version=1.0.0, micronaut.neo4j.version=3.0.0, os.arch=x86_64, micronaut.grpc.version=2.0.0, rxjava2.version=2.2.10, validation.version=2.0.1.Final, awt.toolkit=sun.lwawt.macosx.LWCToolkit, micronaut.test.version=1.2.0, micronaut.views.version=2.0.0, spotbugs.version=4.0.3, springboot.version=2.3.1.RELEASE, h2.version=1.4.199, micronaut.rxjava1.version=1.0.0, java.vm.compressedOopsMode=Zero based, micronaut.flyway.version=2.0.0, jdk.version=11, hystrix.version=1.5.18, env.LOGNAME=xxx, reactive.pg.client.version=0.11.4, env.__CF_USER_TEXT_ENCODING=0x1F5:0:2, picocli.version=4.3.2, micronaut.xml.version=1.1.0, mssql.version=8.2.2.jre8, brave.instrumentation.version=5.9.0, mongo.version=4.0.3, env.SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.ELGFf4lO43/Listeners, ktor.version=1.3.1, sun.os.patch.level=unknown, maven.compiler.target=11, env.TMPDIR=/var/folders/bg/shhfy43n5s30yktk7dp7dk500000gn/T/, socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16, gopherProxySet=false, micronaut.nats.version=1.0.0, maven.conf=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/conf, sun.java.launcher=SUN_STANDARD, user.country=GB, oracle.version=19.3.0.0, netty.version=4.1.48.Final, elasticsearch.version=7.7.0, java.runtime.name=OpenJDK Runtime Environment, commons.dbcp.version=2.7.0, maven-failsafe-plugin.version=2.22.2, micronaut.picocli.version=2.1.0, micronaut.servlet.version=1.0.0, graal.version=20.1.0, micronaut.kubernetes.version=2.0.0, neo4j.version=3.5.16, micronaut.graphql.version=1.3.0, micronaut.micrometer.version=2.0.0, sun.cpu.isalist=, postgres.version=42.2.14, jackson.version=2.11.0, sun.arch.data.model=64, micronaut.jmx.version=2.0.0, opentracing.version=0.33.0, micronaut.gcp.version=2.0.0, java.specification.vendor=Oracle Corporation, java.version.date=2020-04-14, java.home=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home, micronaut.kafka.version=2.1.0, google.function.invoker.version=1.0.0-beta1, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, env.PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/xxx/programs/apache-maven-3.6.3/bin, rxjava1.version=1.3.8, file.encoding=UTF-8, snakeyaml.version=1.26, neo4j.bolt.version=4.0.1, liquibase.version=3.8.0, java.awt.printerjob=sun.lwawt.macosx.CPrinterJob, lettuce.version=5.3.1.RELEASE, classworlds.conf=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf, env.JAVA_MAIN_CLASS_19113=org.codehaus.classworlds.Launcher, sun.io.unicode.encoding=UnicodeBig, micronaut.security.version=2.0.0, hikari.version=3.4.5, micronaut.data.version=1.1.1, protobuf.version=3.12.2, micronaut.groovy.version=2.0.0, os.name=Mac OS X, http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, maven.build.timestamp=2020-06-30T15:37:59Z, spock.version=2.0-M2-groovy-3.0, java.awt.graphicsenv=sun.awt.CGraphicsEnvironment, jsr305.version=3.0.2, micronaut.sql.version=2.3.6, path.separator=:, micronaut.version=2.0.0, methvin.directory-watcher.version=0.9.6, zipkin.reporter.version=2.10.0, micronaut.rabbitmq.version=2.0.0, env.SHELL=/bin/zsh, swagger.version=2.1.1, maven.ext.class.path=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven-event-listener.jar, maven.multiModuleProjectDirectory=/Users/xxx/IdeaProjects/stamp-duty-calculator, java.vm.info=mixed mode, brave.opentracing.version=0.35.0, env.USER=xxx, java.class.version=55.0, javax.annotation-api.version=1.3.2, sun.jnu.encoding=UTF-8, slf4j.version=1.7.26, maven.build.version=Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f), maven.home=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3, file.separator=/, line.separator=
, rxjava1.interop.version=0.13.7, user.name=xxx, env.XPC_FLAGS=0x0, grpc.version=1.30.0, ojdbc.version=19.6.0.0, project.reporting.outputEncoding=UTF-8, micronaut.cache.version=2.0.0, env.OLDPWD=/, env.PWD=/Users/xxx/IdeaProjects/stamp-duty-calculator, env.LC_CTYPE=en_GB.UTF-8, tomcatJdbc.version=9.0.36, micronaut.spring.version=2.1.0, java.class.path=/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/Users/xxx/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.7223.91/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.6.0.jar, env.HOME=/Users/xxx, java.vm.vendor=AdoptOpenJDK, micronaut.liquibase.version=2.0.0, micronaut.kotlin.version=1.0.1, groovy.version=3.0.3, logback.version=1.2.3, micronaut.rxjava3.version=1.0.0, sun.cpu.endian=little, user.language=en, env.VERSIONER_PYTHON_VERSION=2.7, reactive.streams.version=1.0.3, maven-surefire-plugin.version=2.22.2, mysql.version=8.0.20, jcache.version=1.1.0, env.XPC_SERVICE_NAME=com.jetbrains.intellij.13816.76BA5B4F-CA70-49A1-9F5A-CDB232833C9C, ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, micronaut.acme.version=1.0.0, project.build.sourceEncoding=UTF-8, micronaut.jaxrs.version=1.0.1, java.vendor.url.bug=https://github.com/AdoptOpenJDK/openjdk-support/issues, micronaut.hibernate.validator.version=2.0.1, user.dir=/Users/xxx/IdeaProjects/stamp-duty-calculator, gorm.version=7.1.0.M2, java.vm.version=11.0.7+10, env.TOOLBOX_VERSION=1.17.7018}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/resources
excludes []
includes []
[DEBUG] ignoreDelta true
[INFO] Copying 2 resources
[DEBUG] Copying file logback.xml
[DEBUG] file logback.xml has a filtered file extension
[DEBUG] copy /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/resources/logback.xml to /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/logback.xml
[DEBUG] Copying file application.yml
[DEBUG] file application.yml has a filtered file extension
[DEBUG] copy /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/resources/application.yml to /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes/application.yml
[DEBUG] no use filter components
[DEBUG] Running executeMojo for Plugin [org.apache.maven.plugins:maven-compiler-plugin]
[DEBUG] Attempting to load plugin Plugin [org.apache.maven.plugins:maven-compiler-plugin] using pluginManager org.apache.maven.plugin.DefaultBuildPluginManager@2b22a1cc and repositories [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=211701, ConflictMarker.markTime=102814, ConflictMarker.nodeCount=118, ConflictIdSorter.graphTime=105894, ConflictIdSorter.topsortTime=55903, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1100150, ConflictResolver.conflictItemCount=72, DefaultDependencyCollector.collectTime=114161106, DefaultDependencyCollector.transformTime=1609963}
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven.shared:maven-shared-utils:jar:3.2.1:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile
[DEBUG]    org.codehaus.plexus:plexus-java:jar:0.9.10:compile
[DEBUG]       org.ow2.asm:asm:jar:6.2:compile
[DEBUG]       com.thoughtworks.qdox:qdox:jar:2.0-M9:compile (version managed from default)
[DEBUG]    org.codehaus.plexus:plexus-compiler-api:jar:2.8.4:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4:runtime
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1
[DEBUG]   Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.4
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.2.1
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-java:jar:0.9.10
[DEBUG]   Included: org.ow2.asm:asm:jar:6.2
[DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:2.0-M9
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-api:jar:2.8.4
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.8.4
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.8.4
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@77556fd]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile' with basic configurator -->
[DEBUG]   (s) groupId = io.micronaut
[DEBUG]   (s) artifactId = micronaut-inject-java
[DEBUG]   (s) version = 2.0.0
[DEBUG]   (s) groupId = io.micronaut
[DEBUG]   (s) artifactId = micronaut-validation
[DEBUG]   (s) version = 2.0.0
[DEBUG]   (f) annotationProcessorPaths = [io.micronaut:micronaut-inject-java:2.0.0.jar, io.micronaut:micronaut-validation:2.0.0.jar]
[DEBUG]   (f) compilerArgs = [-Amicronaut.processing.group=stamp.duty.calculator, -Amicronaut.processing.module=stamp-duty-calculator]
[DEBUG]   (f) basedir = /Users/xxx/IdeaProjects/stamp-duty-calculator
[DEBUG]   (f) buildDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target
[DEBUG]   (f) compilePath = [/Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes, /Users/xxx/.m2/repository/io/micronaut/micronaut-inject/2.0.0/micronaut-inject-2.0.0.jar, /Users/xxx/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar, /Users/xxx/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar, /Users/xxx/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar, /Users/xxx/.m2/repository/io/micronaut/micronaut-core/2.0.0/micronaut-core-2.0.0.jar, /Users/xxx/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar, /Users/xxx/.m2/repository/com/github/spotbugs/spotbugs-annotations/4.0.3/spotbugs-annotations-4.0.3.jar, /Users/xxx/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar, /Users/xxx/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar, /Users/xxx/.m2/repository/io/micronaut/micronaut-validation/2.0.0/micronaut-validation-2.0.0.jar, /Users/xxx/.m2/repository/io/micronaut/micronaut-http/2.0.0/micronaut-http-2.0.0.jar, /Users/xxx/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar, /Users/xxx/.m2/repository/io/micronaut/micronaut-runtime/2.0.0/micronaut-runtime-2.0.0.jar, /Users/xxx/.m2/repository/io/micronaut/micronaut-aop/2.0.0/micronaut-aop-2.0.0.jar, /Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar, /Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar, /Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.0/jackson-core-2.11.0.jar, /Users/xxx/.m2/repository/io/reactivex/rxjava2/rxjava/2.2.10/rxjava-2.2.10.jar, /Users/xxx/.m2/repository/io/micronaut/aws/micronaut-function-aws/2.0.0/micronaut-function-aws-2.0.0.jar, /Users/xxx/.m2/repository/io/micronaut/micronaut-function/2.0.0/micronaut-function-2.0.0.jar, /Users/xxx/.m2/repository/com/amazonaws/aws-lambda-java-core/1.2.1/aws-lambda-java-core-1.2.1.jar]
[DEBUG]   (f) compileSourceRoots = [/Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedSourcesDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources/annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile {execution: null}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes
[DEBUG]   (f) parameters = false
[DEBUG]   (f) project = MavenProject: stamp.duty.calculator:stamp-duty-calculator:0.1 @ /Users/xxx/IdeaProjects/stamp-duty-calculator/pom.xml
[DEBUG]   (f) projectArtifact = stamp.duty.calculator:stamp-duty-calculator:jar:0.1
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@8851ce1
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 11
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (s) target = 11
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources/annotations to compile source roots:
  /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java
[DEBUG] New compile source roots:
  /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java
  /Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources/annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[DEBUG] Stale source detected: /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java/stamp/duty/calculator/Book.java
[DEBUG] Stale source detected: /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java/stamp/duty/calculator/BookRequestHandler.java
[DEBUG] Stale source detected: /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java/stamp/duty/calculator/BookSaved.java
[INFO] Changes detected - recompiling the module!
[DEBUG] Classpath:
[DEBUG]  /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/micronaut-inject/2.0.0/micronaut-inject-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar
[DEBUG]  /Users/xxx/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar
[DEBUG]  /Users/xxx/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/micronaut-core/2.0.0/micronaut-core-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar
[DEBUG]  /Users/xxx/.m2/repository/com/github/spotbugs/spotbugs-annotations/4.0.3/spotbugs-annotations-4.0.3.jar
[DEBUG]  /Users/xxx/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
[DEBUG]  /Users/xxx/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/micronaut-validation/2.0.0/micronaut-validation-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/micronaut-http/2.0.0/micronaut-http-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/micronaut-runtime/2.0.0/micronaut-runtime-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/micronaut-aop/2.0.0/micronaut-aop-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar
[DEBUG]  /Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar
[DEBUG]  /Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.0/jackson-core-2.11.0.jar
[DEBUG]  /Users/xxx/.m2/repository/io/reactivex/rxjava2/rxjava/2.2.10/rxjava-2.2.10.jar
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/aws/micronaut-function-aws/2.0.0/micronaut-function-aws-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/io/micronaut/micronaut-function/2.0.0/micronaut-function-2.0.0.jar
[DEBUG]  /Users/xxx/.m2/repository/com/amazonaws/aws-lambda-java-core/1.2.1/aws-lambda-java-core-1.2.1.jar
[DEBUG] Source roots:
[DEBUG]  /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java
[DEBUG]  /Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources/annotations
[DEBUG] Command line options:
[DEBUG] -d /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes -classpath /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes:/Users/xxx/.m2/repository/io/micronaut/micronaut-inject/2.0.0/micronaut-inject-2.0.0.jar:/Users/xxx/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar:/Users/xxx/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/xxx/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-core/2.0.0/micronaut-core-2.0.0.jar:/Users/xxx/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/xxx/.m2/repository/com/github/spotbugs/spotbugs-annotations/4.0.3/spotbugs-annotations-4.0.3.jar:/Users/xxx/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/xxx/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-validation/2.0.0/micronaut-validation-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-http/2.0.0/micronaut-http-2.0.0.jar:/Users/xxx/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-runtime/2.0.0/micronaut-runtime-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-aop/2.0.0/micronaut-aop-2.0.0.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.0/jackson-core-2.11.0.jar:/Users/xxx/.m2/repository/io/reactivex/rxjava2/rxjava/2.2.10/rxjava-2.2.10.jar:/Users/xxx/.m2/repository/io/micronaut/aws/micronaut-function-aws/2.0.0/micronaut-function-aws-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-function/2.0.0/micronaut-function-2.0.0.jar:/Users/xxx/.m2/repository/com/amazonaws/aws-lambda-java-core/1.2.1/aws-lambda-java-core-1.2.1.jar: -sourcepath /Users/xxx/IdeaProjects/stamp-duty-calculator/src/main/java:/Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources/annotations: -s /Users/xxx/IdeaProjects/stamp-duty-calculator/target/generated-sources/annotations -processorpath /Users/xxx/.m2/repository/io/micronaut/micronaut-inject-java/2.0.0/micronaut-inject-java-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-validation/2.0.0/micronaut-validation-2.0.0.jar:/Users/xxx/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-inject/2.0.0/micronaut-inject-2.0.0.jar:/Users/xxx/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/xxx/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-core/2.0.0/micronaut-core-2.0.0.jar:/Users/xxx/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/xxx/.m2/repository/com/github/spotbugs/spotbugs-annotations/4.0.3/spotbugs-annotations-4.0.3.jar:/Users/xxx/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/xxx/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-http/2.0.0/micronaut-http-2.0.0.jar:/Users/xxx/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-aop/2.0.0/micronaut-aop-2.0.0.jar: -g -nowarn -target 11 -source 11 -encoding UTF-8 -Amicronaut.processing.group=stamp.duty.calculator -Amicronaut.processing.module=stamp-duty-calculator
[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 3 source files to /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes
[DEBUG] incrementalBuildHelper#afterRebuildExecution
[DEBUG] Running /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java -Didea.version2020.1.1=true -classpath /Users/xxx/IdeaProjects/stamp-duty-calculator/target/classes:/Users/xxx/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar:/Users/xxx/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar:/Users/xxx/.m2/repository/com/amazonaws/aws-lambda-java-core/1.2.1/aws-lambda-java-core-1.2.1.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.11.0/jackson-annotations-2.11.0.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.11.0/jackson-core-2.11.0.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.11.0/jackson-databind-2.11.0.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.11.0/jackson-datatype-jdk8-2.11.0.jar:/Users/xxx/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.11.0/jackson-datatype-jsr310-2.11.0.jar:/Users/xxx/.m2/repository/com/github/spotbugs/spotbugs-annotations/4.0.3/spotbugs-annotations-4.0.3.jar:/Users/xxx/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-aop/2.0.0/micronaut-aop-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-core/2.0.0/micronaut-core-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-function/2.0.0/micronaut-function-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-http/2.0.0/micronaut-http-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-inject/2.0.0/micronaut-inject-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-runtime/2.0.0/micronaut-runtime-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/micronaut-validation/2.0.0/micronaut-validation-2.0.0.jar:/Users/xxx/.m2/repository/io/micronaut/aws/micronaut-function-aws/2.0.0/micronaut-function-aws-2.0.0.jar:/Users/xxx/.m2/repository/io/reactivex/rxjava2/rxjava/2.2.10/rxjava-2.2.10.jar:/Users/xxx/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/xxx/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/xxx/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/Users/xxx/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/xxx/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar:/Users/xxx/.m2/repository/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar -XX:TieredStopAtLevel=1 -Dcom.sun.management.jmxremote null
[DEBUG] Stopping the background process
[DEBUG] Exception while watching for changes
java.lang.NullPointerException
    at java.lang.ProcessBuilder.start (ProcessBuilder.java:1090)
    at java.lang.ProcessBuilder.start (ProcessBuilder.java:1071)
    at io.micronaut.build.MicronautRunMojo.runApplication (MicronautRunMojo.java:462)
    at io.micronaut.build.MicronautRunMojo.execute (MicronautRunMojo.java:199)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[DEBUG] Stopping the background process
[DEBUG] Cleaning up
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.698 s
[INFO] Finished at: 2020-06-30T16:38:01+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.micronaut.build:micronaut-maven-plugin:1.0.0:run (default-cli) on project stamp-duty-calculator: Exception while watching for changes: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.micronaut.build:micronaut-maven-plugin:1.0.0:run (default-cli) on project stamp-duty-calculator: Exception while watching for changes
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
Caused by: org.apache.maven.plugin.MojoExecutionException: Exception while watching for changes
    at io.micronaut.build.MicronautRunMojo.execute (MicronautRunMojo.java:241)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
Caused by: java.lang.NullPointerException
    at java.lang.ProcessBuilder.start (ProcessBuilder.java:1090)
    at java.lang.ProcessBuilder.start (ProcessBuilder.java:1071)
    at io.micronaut.build.MicronautRunMojo.runApplication (MicronautRunMojo.java:462)
    at io.micronaut.build.MicronautRunMojo.execute (MicronautRunMojo.java:199)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Hide module-info.class warnings when building uber jar.

Hi! Thanks for your work.
When building a project in uber .jar using the plugin (using only micronaut dependencies), warnings appear:

Discovered module-info.class. Shading will break its strong encapsulation.

Hide them in the shade plugin using a filter does not work:

<filters>
  <filter>
    <artifact>*:*</artifact>
    <excludes>
      <exclude>module-info.class</exclude>
    </excludes>
  </filter>
</filters>

As I understand it appears somewhere in the micronaut maven plugin and cannot be hidden by the shade config settings? If you could hide it it would be great.
Thanks!

Handling for additional watches runs into IllegalArgumentException

In

String relativePath = projectRootDirectory.relativize(path).toString();
Path.relativize(Path) is used to create a concise path for the debug messages.

But when I add additional watches like shown in the example here https://micronaut-projects.github.io/micronaut-maven-plugin/latest/examples/run.html then projectRootDirectory is an absolute path and path is a relative path. This is not allowed and Path.relativize(Path) throws a java.lang.IllegalArgumentException.

One solution would be to replace the expression with projectRootDirectory.toAbsolutePath().relativize(path.toAbsolutePath()). This solves the problem for my case, but I'm not entirely sure, if this works in every case. (I'm wondering if there are other corner cases, where a path cannot be made absolute.)
So another solution might be to remove the debug messages and the problematic line entirely, but I'm not sure if that's wanted. That would work for every case of course and I'm wondering if this debug message is worth the hassle.
A third solution could be to not relativize path against projectRootDirectory and just use path for the debug messages.

Update

There are further places, where relativize is used. I was able to fully fix this by changing

this.projectRootDirectory = mavenProject.getBasedir().toPath();
to

this.projectRootDirectory = mavenProject.getBasedir().toPath().toAbsolutePath();

and by changing

to

Path path = event.path().toAbsolutePath();

. If you think this is a viable solution, I can submit a PR.

Add `jkube-k8s` and `jkube-oc` packagings to support JKube's Kubernetes and OpenShift integrations

In order to support JKube's kubernetes-maven-plugin and openshift-maven-plugin, this plugin could add 2 additional packaging types:

  • jkube-k8s: delegates to k8s:build for packaging and k8s:push for deployment.
  • jkube-oc: delegates to oc:build for packaging and oc:push for deployment.

That way, users could benefit from the extra features that JKube offers, such as Kubernetes manifest generation, log access, etc.

Plugin overrides property `jib.from.image`

When building docker image with property jib.from.image the plugin overrides it by openjdk:16-alpine:

<properties>
  <jib.from.image>xxxx</jib.from.image>
</properties>
   } else {
            mavenProject.getProperties().setProperty(PropertyNames.FROM_IMAGE, JibMicronautExtension.DEFAULT_BASE_IMAGE);
        }

Docker image for OCI Functions is not configured properly

Oracle functions base image fnproject/fn-java-fdk:jre11-latest has it's own entrypoint that looks like this:

usr/local/openjdk-11/bin/java, -XX:-UsePerfData, -XX:+UseSerialGC, -Xshare:on, -Djava.awt.headless=true, -Djava.library.path=/function/runtime/lib, -cp, /function/app/*:/function/runtime/*, com.fnproject.fn.runtime.EntryPoint]

But Jib produces classes instead of jar and copies the resources into the wrong path. This is the configuration that worked for me:

<configuration>
          <to>
            <image>${jib.docker.image}:${jib.docker.tag}</image>
          </to>
          <from>
            <image>fnproject/fn-java-fdk:jre11-latest</image>
          </from>
          <container>
            <appRoot>/function/app</appRoot>
            <workingDirectory>/function</workingDirectory>
            <entrypoint>
              <arg>/usr/local/openjdk-11/bin/java</arg>
              <arg>-XX:-UsePerfData</arg>
              <arg>-XX:+UseSerialGC</arg>
              <arg>-Xshare:on</arg>
              <arg>-Djava.awt.headless=true</arg>
              <arg>-Djava.library.path=/function/runtime/lib</arg>
              <arg>-cp</arg>
              <arg>/function/app/classes:/function/app/libs/*:/function/app/resources:/function/runtime/*</arg>
              <arg>com.fnproject.fn.runtime.EntryPoint</arg>
            </entrypoint>
            <args>com.example.Function::handleRequest</args>
          </container>
 </configuration>

Where:

  • the original entrypoint class path is updated
  • the workind directory is set to /funciton/app

Multi-module Maven project support

Please add Multi-module Maven project support.

Currently as I saw there are many questions in https://gitter.im/micronautfw/ including my own. For example, Spring Boot supports multi-module Maven project out of the box and there are a lot of examples https://github.com/MohammedAtif/java-11-module-spring-boot/. Micronaut maven plugin possibly supports only monitoring src folder of parent folder and do not monitor for changes in submodules's src folders? Second, there is no possiblity to run a project with mvn mn:run if the main module resides in submodule:

Error: Could not find or load main class com.example.demo.Application
Caused by: java.lang.ClassNotFoundException: com.example.demo.Application

mn:run fails to pass proper application and JVM arguments, tokenizes using comma.

Steps to Reproduce

  1. Clone the prepared sample project: [email protected]:sdedic/micronaut-maven-exec-bug.git
  2. checkout the bug branch: git checkout exec-params
  3. ensure Java 11 JDK is in PATH first, and pointed to by JAVA_HOME env var
  4. do mvn mn:run from the commandline.
  5. do mvn -Pdebug mn:run.

Note: although there are specific properties to construct the JDWP agent parameters supported by Micronaut maven plugin, there are other agents, that behave the similar way, e.g. profiler. Some JVM options use comma to separate values in their arguments too (-XXtlaSize, --add-reads, --add-exports)

Expected Behaviour

The project is configured assuming the applicaiton logic interprets commas (separators) in its own capacity. The expected application output is

  • "first"
  • "second,secondPart".

When run with -Pdebug, the application should run as a debug server, starting on port 5005 and suspending.

Actual Behaviour

The applicaiton prints these commandline parameters:

  • "first secondStart"
  • "secondPart"
    as separate parameters.

When debugging (-P debug), the application does not start, as the debug agent option string is tokenized and passed as distinct arguments:

  • "java -agentlib:jdwp=transport=dt_socket"
  • "server=n"
  • "address=5005"
    The printed message is:
ERROR: JDWP Non-server transport dt_socket must have a connection address specified through the 'address=' option
ERROR: JDWP invalid option: -agentlib:jdwp=transport=dt_socket

Environment Information

  • Operating System: Ubuntu 19.04
  • Micronaut Version: 2.2.3
  • JDK Version: Oracle JDK 11, GraalVM CE 11 - 20.3.0

Example Application

Further information - analysis

I debugged the issue down to io.micronaut.build.RunMojo, that injects properties as lists:

    @Parameter(property = "mn.jvmArgs")
    private List<String> jvmArguments;

This is handled by Maven / Plexus, namely org.codehaus.plexus.component.configurator.converters.composite.CollectionConverter, that uses csvToXml to tokenize String into items. That function splits the stirng using commas. No escaping is possible / supported by Maven / Plexus.

It seems that the parameters must be injected as whole Stirng into the RunMojo and tokenized in the micronaut plugin's code, for example by org.codehaus.plexus.util.cli.CommandLineUtils.translateCommandline

Failed to run application with Java record Preview Feature

I got a LinkageError when trying to use Java Record object:

image

Steps to Reproduce

  1. Create a Java Record
  2. Compile mvn clean compile
  3. Run: ./mvnw mn:run

Expected Behaviour
Run the application using java Records preview feature

Actual Behaviour
Get error
image

Environment Information

  • Operating System: Ubuntu 20.04.2 LTS 64x
  • Micronaut Version: 2.3.1
  • JDK Version: Corretto-15.0.2.7.1 (build 15.0.2+7)

Example Application
https://github.com/Tepexpan/demo

JibConfigurationService breaks ability for multiple configurations via executions.

The extraction of the from-image by JibConfigurationService does not account for multiple executions and therefore always uses either the base-image or the one inside the base configuration. F.e.:

<execution>
    <id>install-distroless</id>
    <phase>install</phase>
    <goals>
        <goal>dockerBuild</goal>
    </goals>
    <configuration>
        <from>
            <image>
                gcr.io/distroless/java:11
            </image>
        </from>
        <to>
            <image>docker.io/${image.repository}/${artifactId}:latest</image>
        </to>
    </configuration>
</execution>
<execution>
    <id>install-rhel</id>
    <phase>install</phase>
    <goals>
        <goal>dockerBuild</goal>
    </goals>
    <configuration>
        <to>
            <image>docker.io/${image.repository}/${artifactId}:latest-rhel</image>
        </to>
        <from>
            <image>registry.redhat.io/openjdk/openjdk-11-rhel7</image>
            <auth>
                <username>${rhel.username}</username>
                <password>${rhel.password}</password>
            </auth>
        </from>
    </configuration>
</execution>

This configuration will produce and image based on the alpine-default-image for 'install-distroless' and an error for 'install-rhel', since it tries to use the auth for pulling the default image.

I'm unsure how to solve this. Whats the reasoning behind replacing the jib default image with the current approach instead of taking the baseimage from the ContainerBuildPlan(that is respecting the exectuion config).

`docker-native` packaging doesn't reflect changes

in the mushop example carts the docker build of native image doesn't reflect made changes. It seems like some layers caching is involved. Even when using clean doesn't solve the situation.

What happened was that we changed the reflection configuration for native image, build the image, deployed but the change was not propagated.

Also I'm not sure about this output where the app shouldn't be taken from the cache:

[INFO]  ---> Using cache
[INFO]  ---> e7c9d9f695f7
[INFO] Step 12/15 : COPY --from=builder /home/app/application /app/application

Serverless Application with features aws-lambda, graalvm, aws-custom-runtime sets incorrect main class

Steps to reproduce

  • Generate a serverless function with features aws-lambda graalvm aws-custom-runtime.
  • Execute ./mvnw package -Dpackaging=docker-native -Dmicronaut.runtime=lambda -Pgraalvm you will see in the output:
...
RUN native-image ${GRAALVM_ARGS} -H:Class=io.micronaut.function.aws.runtime.MicronautLambdaRuntime

where the main class is set to io.micronaut.function.aws.runtime.MicronautLambdaRuntime which is the correct main class for Applications not for Serverless Functions.

It should say:

RUN native-image ${GRAALVM_ARGS} -H:Class=com.example.BookLambdaRuntime

Note: the main class is correctly defined in the pom.xml

    <exec.mainClass>com.example.BookLambdaRuntime</exec.mainClass>

It seems the main class is hardcoded to MicronautLambdaRuntime

https://github.com/micronaut-projects/micronaut-maven-plugin/blob/master/src/main/resources/dockerfiles/DockerfileAwsCustomRuntime#L16

Maybe use something such as:

-H:Class=${CLASS_NAME}

as we do in other Dockerfile templates

Add parameter to specify debug host for JDWP plugin

JDWP has changed with Java 9. The older notation address=8080 only applies to connection on localhost. To accept connection from other addresses or from anywhere, we need to specify the host or the wildcard in the address.

It will be very useful to add a parameter to specify the binding address for the debugger, like mn.debug.host.

Use imageName property of native-image-maven-plugin to define the Docker image name when packaging

Hi,

After this fix #53, I've been reconfiguring my Micronaut apps and I had an idea.

What about, whenever we define explicitly the plugin org.graalvm.nativeimage:native-image-maven-plugin (maybe we need to customize something as described in the Micronaut Maven Plugin Documentation) and set the imageName property, we use the imageName to be the final name of the docker native image.

For instance, considering the piece of pom.xml below,

<artifactId>micronaut-simple-api</artifactId>
<version>1.0.0</version>
...
<properties>
	...
    <docker.image.prefix>docker.mycompany.com</docker.image.prefix>
</properties>

...
<plugins>
    <plugin>
        <groupId>io.micronaut.build</groupId>
        <artifactId>micronaut-maven-plugin</artifactId>
    </plugin>
    <plugin>
        <groupId>org.graalvm.nativeimage</groupId>
        <artifactId>native-image-maven-plugin</artifactId>
        <configuration>
            <imageName>${docker.image.prefix}/${project.artifactId}-native:${project.version}</imageName>
        </configuration>
    </plugin>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
            <!-- Uncomment to enable incremental compilation -->
            <!-- <useIncrementalCompilation>false</useIncrementalCompilation> -->
            <annotationProcessorPaths combine.children="append">
                <path>
                    <groupId>io.micronaut</groupId>
                    <artifactId>micronaut-graal</artifactId>
                    <version>${micronaut.version}</version>
                </path>
            </annotationProcessorPaths>
            <compilerArgs>
                <arg>-Amicronaut.processing.group=com.mycompany.micronautsimpleapi</arg>
                <arg>-Amicronaut.processing.module=micronaut-simple-api</arg>
            </compilerArgs>
        </configuration>
    </plugin>
    <plugin>
        <groupId>com.google.cloud.tools</groupId>
        <artifactId>jib-maven-plugin</artifactId>
        <configuration>
            <to>
                <image>${docker.image.prefix}/${project.artifactId}-jvm:${project.version}</image>
            </to>
        </configuration>
    </plugin>
</plugins>
...
  • If we run ./mvnw package -Dpackaging=docker-native, we get docker.mycompany.com/micronaut-simple-api-native:1.0.0 (from native-image-maven-plugin)
  • If we run ./mvnw package -Dpackaging=docker, we get docker.mycompany.com/micronaut-simple-api-jvm:1.0.0 (from jib-maven-plugin)

Currently, it's getting the what it's defined in jib-maven-plugin property.

Update the `native-image-maven-plugin` documentation snippet about buildArgs

I tried to follow the guide to modify native image arguments as per:

https://micronaut-projects.github.io/micronaut-maven-plugin/latest/examples/package.html

And added

      <plugin>
        <groupId>org.graalvm.nativeimage</groupId>
        <artifactId>native-image-maven-plugin</artifactId>
        <configuration>
          <buildArgs>
             --trace-class-initialization=io.micronaut.jaxrs.runtime.ext.impl.MicronautRuntimeDelegate
          </buildArgs>
        </configuration>
      </plugin>   

However this results in:

Error: Main entry point class 'demo.Application' not found.
Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Error: Image build request failed with exit status 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.