Le 21/12/2025 à 21:11, Romain Manni-Bucau a écrit :

I just want to run a "java -cp xxxx foo.java" with xxx being filled portably accross machines.

But using Maven for launching an application is heavy. Could it be instead a plugin or command which generates the `java` options in a file? The content of that file may be specific to each machine, but we can handle that as a cache. A shell script can invoke a Maven plugin for generating that file if it does not exist, otherwise just invoke `java @the-file`.

    Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to