Open cescoffier opened 2 years ago
@aalmiray wdyt? is there a well defined "maven classpath" we can pass as "--deps" to jbang exec call?
@cescoffier according to https://www.mojohaus.org/exec-maven-plugin/java-mojo.html includeProjectDependencies
seems to be the name of exec plugin. thats the behavior you are after,right?
Yes, you can use the same parameter name.
Is your feature request related to a problem? Please describe.
When using the jbang maven plugin, the dependencies of the project / module are ignored. The only solution requires to duplicate the dependencies in the jbang script, but you do not:
Describe the solution you'd like
Have something like:
which would run the script with the module classpath.
Describe alternatives you've considered
I've tried to use the maven exec plugin, which profives this feature, but has other issues.