Skip to content
Snippets Groups Projects
Commit e5976dc0 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-5120 OZG-5272 Add native-maven-plugin

parent e1c7f2db
Branches
Tags
No related merge requests found
......@@ -186,9 +186,49 @@
</plugins>
</build>
</profile>
<profile>
<id>native</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>process-aot</id>
<configuration>
<profiles>remotekc,oc</profiles>
<skipNativeTests>true</skipNativeTests>
<buildArgs>
<buildArg>-H:-AddAllFileSystemProviders</buildArg>
<buildArg>--strict-image-heap</buildArg>
<buildArg>--initialize-at-build-time=org.bouncycastle</buildArg>
<buildArg>
--initialize-at-build-time=net.i2p.crypto.eddsa.EdDSASecurityProvider
</buildArg>
<buildArg>
--initialize-at-run-time=org.bouncycastle.jcajce.provider.drbg.DRBG$Default
</buildArg>
<buildArg>
--initialize-at-run-time=org.bouncycastle.jcajce.provider.drbg.DRBG$NonceAndIV
</buildArg>
</buildArgs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment