Run a program from maven using jbang

Thanks a lot!! (your trick with @OUT@ is also funny) Too bad compiling is not easy (I’ll read now the other conversation for that) But your solution is actually more interesting from a practical point of view as it does not compile anything and is therefore close to instantaneous. Note however that to make it work, you need to have export JAVA_HOME="${openjdk}" before the exec, otherwise the application won’t compile when running it with quarkus-cli dev.