4.0.0 io.netty netty-parent 4.1.66.Final netty-resolver-dns-native-macos Netty/Resolver/DNS/MacOS jar mac mac LDFLAGS=-Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a false maven-dependency-plugin unpack generate-sources unpack-dependencies ${project.groupId} netty-transport-native-unix-common ${jni.classifier} ${unix.common.lib.dir} META-INF/native/** false true org.fusesource.hawtjni maven-hawtjni-plugin build-native-lib netty_resolver_dns_native_macos_${os.detected.arch} ${project.basedir}/src/main/c ${project.build.outputDirectory} . ${jni.compiler.args.ldflags} ${jni.compiler.args.cflags} generate build maven-jar-plugin native-jar jar true META-INF/native/libnetty_resolver_dns_native_macos_${os.detected.arch}.jnilib; osname=MacOSX; processor=${os.detected.arch} ${javaModuleName} true ${project.build.outputDirectory}/META-INF/MANIFEST.MF ${jni.classifier} io.netty netty-transport-native-unix-common ${project.version} ${jni.classifier} true io.netty.resolver.dns.macos netty-unix-common ${project.build.directory}/unix-common-lib ${unix.common.lib.dir}/META-INF/native/lib ${unix.common.lib.dir}/META-INF/native/include CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} LDFLAGS=-z now -L${unix.common.lib.unpacked.dir} -Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive io.netty netty-common ${project.version} io.netty netty-resolver-dns ${project.version} io.netty netty-transport-native-unix-common ${project.version} maven-jar-plugin default-jar META-INF/native/**