4.0.0 arthas-all com.taobao.arthas ${revision} ../pom.xml arthas-vmtool arthas-vmtool macos-amd64 mac macos -arch x86_64 -arch arm64 libArthasJniLibrary.dylib linux-amd64 linux amd64 linux -m64 libArthasJniLibrary-x64.so windows windows windows 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 ${project.basedir}/src/main/native/head ${os_name} src/main/native/src jni-library.cpp generic-classic g++ ${os_arch_option} -fpic -shared -o target g++ ${os_arch_option} -fpic -shared -o -static-libstdc++ -static -o ${project.build.directory}/${lib_name} javah compile javah initialize compile link org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 UTF-8 true org.apache.maven.plugins maven-jar-plugin 2.4 org.codehaus.mojo native-maven-plugin 1.0-alpha-11 true arthas.VmTool ${project.basedir}/src/main/native/head ${os_name} src/main/native/src jni-library.cpp generic-classic g++ ${os_arch_option} -fpic -shared -o target g++ ${os_arch_option} -fpic -shared -o ${project.build.directory}/${lib_name} javah compile javah initialize compile link com.taobao.arthas arthas-common ${project.version} junit junit test org.assertj assertj-core test