Skip to content

Remove the -Pnative from the mvn package command - is misleading #2

@matthenry87

Description

@matthenry87

I had a developer show me this repository as an example of how to use a GraalVM native image in an AWS Lambda. I now understand that this isn't the case - but I suggest either:

  • Remove the -P native arg from the mvn package command in the Dockerfile and remove the native-build-tools plugin from POM
  • OR: Add an additional example of how to use the native executable in the Lambda instead of the jar

Here is a good example I found of how to leverage the native executable produced: https://www.graalvmonlambda.com/walkthrough/convert-to-graalvm/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions