Re: Future of maven scripting plugin, java?

2021-02-26 Thread Romain Manni-Bucau
gt; > >> > > That > > > >> > > sounds interesting to me. > > > >> > > > > >> > This is more a side effect, the target is to be able to be able to > > > >> > > > >> replace > > > >> &g

Re: Future of maven scripting plugin, java?

2021-02-26 Thread Christian Stein
On Fri, Feb 26, 2021 at 12:42 PM Robert Scholte wrote: > I remember the same discussion with Christian Stein. > Yeah, me too. Came up with a JSR223 wrapper POC implementation around that time: https://github.com/sormuras/java-compiler-script-engine Maybe it's of help here - if not, then not.

Re: Future of maven scripting plugin, java?

2021-02-26 Thread Robert Scholte
t; > the > > >> > drawback to require dependencies in the actual module (even in scope > > >> > provided). > > >> > The scripting plugin has the opportunity to normalize that through > the > > >> > maven-java-scripting-engine

Re: Future of maven scripting plugin, java?

2021-02-26 Thread Romain Manni-Bucau
t;> replace > > >> > > >> > src/main/java//build/*.java + exec-maven-plugin setups which has > > >> > the > > >> > drawback to require dependencies in the actual module (even in scope > > >> > provided). > > >> >

Re: Future of maven scripting plugin, java?

2021-02-26 Thread Hervé BOUTEMY
ion, typed clients > >> > >> (http), > >> > >> > jsonschema, openapi.json, docker images with CDS and much more and in a > >> > customized fashion. > >> > Big gain is to not have to leak all dependencies in the build and keep > &g

Re: Future of maven scripting plugin, java?

2021-02-26 Thread Romain Manni-Bucau
in the >> IDE >> > but when running mvn xxx it is gone/deactivated). >> > >> > Side notes: >> > 1. creating a build module is not an option since it is really about >> having >> > the build code in the related module and not a "put it all" mo

Re: Future of maven scripting plugin, java?

2021-02-26 Thread Romain Manni-Bucau
and not a "put it all" module which > is > > very hard to maintain. > > 2. creating a mojo for these needs is inefficient in terms of maintenance > > and customization level (I come from there) and ultra verbose in the pom > > compared to this scripting option > > > &g

Re: Future of maven scripting plugin, java?

2021-02-25 Thread Hervé BOUTEMY
ht- > > Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] > > Gesendet: Donnerstag, 25. Februar 2021 09:59 > > An: Maven Developers List > > Betreff: Future of maven scripting plugin, java? > > > > Hi all, > > > > Wonder if maven scripting

AW: Future of maven scripting plugin, java?

2021-02-25 Thread Markus KARG
LGTM. Please tell me when done! ;-D -Markus -Ursprüngliche Nachricht- Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Gesendet: Donnerstag, 25. Februar 2021 16:16 An: Maven Developers List Betreff: Re: Future of maven scripting plugin, java? Le jeu. 25 févr. 2021 à 15:28, Markus

Re: Future of maven scripting plugin, java?

2021-02-25 Thread Romain Manni-Bucau
> Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] > Gesendet: Donnerstag, 25. Februar 2021 09:59 > An: Maven Developers List > Betreff: Future of maven scripting plugin, java? > > Hi all, > > Wonder if maven scripting plugin has some future plans or not. > Very concretely I'

AW: Future of maven scripting plugin, java?

2021-02-25 Thread Markus KARG
: Donnerstag, 25. Februar 2021 09:59 An: Maven Developers List Betreff: Future of maven scripting plugin, java? 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

Future of maven scripting plugin, java?

2021-02-25 Thread Romain Manni-Bucau
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