翻asciidoctor github issue 发现;去除 jruby 主动依赖解决(本身是可选的)
WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
JRuby 的代码导致: asciidoctor-issue https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/553 https://github.com/asciidoctor/asciidoctorj/issues/1035
jruby-issue https://github.com/jruby/jruby/issues/6721
提到是JDK的安全更新但未提供替代方法原因
翻asciidoctor github README解决
最早:默认指向 ${basedir}/src/main/asciidoc
后来:默认指向 ${basedir}/src/site/asciidoc
去除 jruby 主动依赖解决(本身是可选的)