Can be but ultimately maven owns the dependencies resolution so it is the only valuable place to do it since maven is built on java, not the opposite, no?
Romain Manni-Bucau @rmannibucau <https://x.com/rmannibucau> | .NET Blog <https://dotnetbirdie.github.io/> | Blog <https://rmannibucau.github.io/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/en-us/product/java-ee-8-high-performance-9781788473064> Javaccino founder (Java/.NET service - contact via linkedin) Le dim. 21 déc. 2025 à 19:34, Elliotte Rusty Harold <[email protected]> a écrit : > On Sun, Dec 21, 2025 at 6:07 PM Romain Manni-Bucau > <[email protected]> wrote: > > > > Hi all, > > > > I have a common need which is to "script in java". > > We have three main options today: scripting plugin or exec plugin in our > > ecosystem or java 25 (`java -cp .... myscript.java`). > > This works great but needs a pom.xml almost for all options (or > equivalent) > > since you need to define your deps. > > > > This sounds like a general issue for Java itself, or perhaps for some > other language. Maven feels like the wrong place to do this. > > -- > Elliotte Rusty Harold > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
