org.eclipse.jetty.setuid jetty-setuid-parent 9.0.0-SNAPSHOT 4.0.0 libsetuid_osx Jetty :: SetUID OSX Native so target/generated -lc -ldl -dynamiclib -undefined dynamic_lookup -single_module target/libsetuid_osx.so libsetuid_osx maven-dependency-plugin unpack generate-resources unpack org.eclipse.jetty.setuid jetty-setuid-native ${project.version} true ${native-source-dir}/ org.codehaus.mojo native-maven-plugin true mac /System/Library/Frameworks/JavaVM.framework/Headers -fPIC -O target/generated org_eclipse_jetty_setuid_SetUID.c ${jetty-setuid-linkerStartOption} -o ${project.build.directory}/libsetuid_osx.so javah generate-sources org.eclipse.jetty.setuid.SetUID target/generated javah compile compile compile org.eclipse.jetty.setuid jetty-setuid-java ${project.version} junit junit test