Use the following command to build the UDF JAR with its bundled dependencies. The DataNode supplies ratis-thirdparty-misc at runtime.
ratis-thirdparty-misc
mvn clean package -DskipTests -P get-jar-with-dependencies