Hi all,

Wonder if maven scripting plugin has some future plans or not.
Very concretely I'm interested in being able to use java as scripting files
(something along src/build/scripting in terms of structure in final
project).
Since we are in maven we have javac so it is not hard to implement a jsr223
(with tool provider or not is a detail) but more complicated thing is the
classpath, it needs the plugin to be able to create a classloader adjusted
for that kind of execution (potentially compiling the whole scripting
folder). In terms of impacts it means enabling to configure the script
engine, ie pass args from the mojo to the getScriptEngine method (typically
kind of the same as exec maven plugin, ie scope/classpath).

So changes would be:

1. implement a java script engine
2. make the script engine instantiation more configurable

Do you think it is worth it or exec maven plugin is still preferred?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>

Reply via email to