<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <name>fxpackager</name> <packaging>uexe</packaging> <artifactId>JavaAppLauncher</artifactId> <groupId>org.openjfx</groupId> <version>@RELEASE_VERSION@</version> <properties> <commonCompilerOptions>-fstack-protector -DJAVAARCH="amd64"</commonCompilerOptions> <native.source.dir>../src/main/native/launcher/linux</native.source.dir> </properties> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>native-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <compilerStartOptions> <compilerStartOption>${commonCompilerOptions}</compilerStartOption> </compilerStartOptions> <sources> <source> <directory>${native.source.dir}</directory> <includes> <include>**/*.cpp</include> </includes> </source> <source> <directory>${JAVA_HOME}/include</directory> </source> <source> <directory>${JAVA_HOME}/include/linux</directory> </source> </sources> <linkerStartOptions> <linkerStartOption>-lstdc++</linkerStartOption> <linkerStartOption>-z</linkerStartOption> <linkerStartOption>relro</linkerStartOption> <linkerStartOption>-ldl</linkerStartOption> </linkerStartOptions> </configuration> </plugin> </plugins> </build> </project>