Skip to content

Instantly share code, notes, and snippets.

@martin-g
Last active November 11, 2020 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martin-g/aae62e1a7c9a36b86b66a7f11d930c02 to your computer and use it in GitHub Desktop.
Save martin-g/aae62e1a7c9a36b86b66a7f11d930c02 to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.graalvm.nativeimage</groupId>
<artifactId>native-image-maven-plugin</artifactId>
<version>20.2.0</version>
<executions>
<execution>
<goals>
<goal>native-image</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<imageName>embedded-tomcat-http2</imageName>
<buildArgs>--no-fallback --report-unsupported-elements-at-runtime --enable-https -H:JNIConfigurationResources=META-INF/native-image/org.apache.tomcat.embed/tomcat-embed-core/tomcat-jni.json</buildArgs>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment