Pretty easy sample to setup Kotlin/JS IR in Maven
The main problem of using IR in maven that IR uses klib
as artifacts instead of JAR, because all libraries are published with transitive dependencies with "default" type (which is jar)
But Gradle has Variant Aware Resolution, Maven has not such feature.
So here it is plugin which register custom artifact types. And then it can be used during compilation
cd custom-maven-plugin
mvn install
cd ..
mvn compile