Skip to content
Discussion options

You must be logged in to vote

@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-plugin

mvn dev.jbang:jbang-maven-plugin:0.0.8:run -Djbang.script="helloworld/helloworld.java"

To 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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mickaelistria
Comment options

@robintegg-createfuture
Comment options

Answer selected by mickaelistria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants