Looking for guidance on how to enable Micronaut AOT for an existing Micronaut AWS Lambda project #10555
-
I want to experiment a little with the micronaut-aot feature in my Micronaut AWS Lambda project. I started by looking at this blog entry, which led me to Cédric's blog post(outdated). I say "outdated" because in 2021 there was no support for building AOT-enabled projects with Maven. Luckily the Micronaut Launcher can provide the necessary plumbing, so I went ahead and created a project in it with two explicitly selected features : aws-lambda and micronaut-aot. Then I copied what I needed into my project:
The default build process is running as before, but when running
It looks like aot-analysis is trying to incorporate some parts of Maven itself(?) (AFAIK Plexus Launcher is an internal Maven dependency / dependency of one of the Maven plugins) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This looks like a bug in the Maven Plugin. Can you please report it there? |
Beta Was this translation helpful? Give feedback.
-
Thanks @alvarosanchez for your quick return. I followed your suggestion and reported a bug here: issue#1009. It is worth mentioning that the issue does NOT reproduce on a MacBook Pro machine. |
Beta Was this translation helpful? Give feedback.
This looks like a bug in the Maven Plugin. Can you please report it there?