4.0.0 io.netty netty-parent 5.0.0.Final-SNAPSHOT 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 mac-m1-cross-compile LDFLAGS=-arch arm64 -Wl,-weak_library,${unix.common.lib.unpacked.dir}/lib${unix.common.lib.name}.a CFLAGS=-target arm64-apple-macos11 -O3 -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -I${unix.common.include.unpacked.dir} ${os.detected.name}-aarch_64 true 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_aarch_64 ${project.basedir}/src/main/c ${project.build.outputDirectory} . ${jni.compiler.args.ldflags} ${jni.compiler.args.cflags} --host=aarch64-apple-darwin generate build maven-jar-plugin native-jar jar true META-INF/native/libnetty_resolver_dns_native_macos_aarch_64.jnilib; osname=MacOSX; processor=aarch_64 ${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/**