Some mvn jbang:run Blah.java
command
#1930
-
Currently, to use JBang, one has to install it. In many environments, jbang might not be directly available where |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@mickaelistria have you tried running the maven plugin? It does not require running from within a maven project. The maven plugin can both download JBang and execute scripts via the
To see all the properties available, take a look at the |
Beta Was this translation helpful? Give feedback.
@mickaelistria have you tried running the maven plugin? It does not require running from within a maven project.
The maven plugin can both download JBang and execute scripts via the
mvn
command - https://github.com/jbangdev/jbang-maven-pluginTo see all the properties available, take a look at the
RunMojo
- https://github.com/jbangdev/jbang-maven-plugin/blob/main/src/main/java/dev/jbang/RunMojo.java.