Im creating an index.htm file with the asciidoctor-maven-plugin:2.2.2 and I get a build error, because the created file has no read permissions. mvn clean install
mvn clean install
works on other machines. I am on a M1 Macbook Pro. I have tried to change Java version (currently using 17 Zulu) and Maven version (3.8.6), but no luck.
asciidoctor
internally usesJRuby
, which in turn had related issue when running onM1
: Wrong file mode/permission when opening/creating a new file [Apple Silicon, arm64, aarch64]according to Update JNR for Apple Silicon varargs support #6985 you need to move on
JRuby 9.2.21.0
: