4.0.0 arthas-all com.taobao.arthas ${revision} ../pom.xml arthas-vmtool arthas-vmtool https://github.com/alibaba/arthas macos-amd64 mac darwin -arch x86_64 -arch arm64 libArthasJniLibrary.dylib linux-amd64 linux amd64 linux -m64 libArthasJniLibrary-x64.so linux-aarch64 linux aarch64 linux -march=armv8-a libArthasJniLibrary-aarch64.so linux-${os.arch} linux !amd64 linux libArthasJniLibrary-${os.arch}.so windows windows win32 windows-32 windows x86 -m32 libArthasJniLibrary-x86.dll windows-amd64 windows amd64 -m64 libArthasJniLibrary-x64.dll org.codehaus.mojo native-maven-plugin 1.0-alpha-11 true arthas.VmTool ${os_name} src/main/native/src jni-library.cpp generic-classic g++ -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${os_name} -I${project.build.directory}/native/include ${os_arch_option} -fpic -shared -o target g++ ${os_arch_option} -fpic -shared -o -static-libstdc++ -static -o ${project.build.directory}/${lib_name} compile-and-link compile initialize compile link org.apache.maven.plugins maven-compiler-plugin -h ${project.build.directory}/native/include org.apache.maven.plugins maven-jar-plugin 2.4 org.codehaus.mojo native-maven-plugin 1.0-alpha-11 true arthas.VmTool src/main/native/src jni-library.cpp generic-classic g++ -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${os_name} -I${project.build.directory}/native/include ${os_arch_option} -fpic -shared -o target g++ ${os_arch_option} -fpic -shared -o ${project.build.directory}/${lib_name} compile-and-link compile initialize compile link com.taobao.arthas arthas-common ${project.version} org.junit.vintage junit-vintage-engine test org.junit.jupiter junit-jupiter test org.assertj assertj-core test