It can also be executed with command mvn antrun:run@ktlint . The ktlint-format task is not bound to any other maven lifecycle. ... <看更多>
antrun run 在 How to use maven antrun plugin to create directory in target ... 的必吃

Creating a directory in maven target folder can be achieved by using “maven- antrun -plugin”.This plugin keeps the deletion or creation of ... ... <看更多>
antrun run 在 ktlint task does not run with maven-antrun-plugin 3.1 #1495 的必吃
When using ktlint with maven-antrun-plugin version 3.1, ktlint does not run. It does work with maven-antrun-plugin version 1.8. ... <看更多>