[Maven Enforcer Plugin] Intention to improve the output format

2024-07-22 Thread Gyorgy Abraham
Dear Maven devs, At our company Genesys, we are holding a Hackathon in the following days. Me and one of my colleagues decided to contribute to maven and specifically enforcer plugin, because we use it in a daily basis and have some ideas to improve the output format. Before throwing in any PRs

Re: [Maven Enforcer Plugin] Intention to improve the output format

2024-07-22 Thread Tamás Cservenák
A big thumb up for lowering Maven console output! Many Maven errors (and outputs) are just very redundant and lost in ocean flood of log lines. For the rest I'd leave to other team mates to chime in. Thanks T On Mon, Jul 22, 2024, 09:25 Gyorgy Abraham wrote: > Dear Maven devs, > > At our compa

Status of new compiler plugin for Maven 4

2024-07-22 Thread Martin Desruisseaux
Hello all The work on a new maven-compiler-plugin [1] for Maven 4 has reached the following state: * All existing JUnit tests pass * Integration tests do not yet pass (I'm working on that) * Plexus compiler dependency completely removed (replaced by javax.tools) My current issue is that de

Way to skip tests when nothing has changed?

2024-07-22 Thread Martin Desruisseaux
Hello again This is a side-effect of the work on maven-compiler-plugin. The "incremental build" mechanism is reviewed as a side-effect, for fixing MCOMPILER-209 [1] among others. When the compiler has detected that no source file, no dependency and no compiler option has changed, is there awa

Re: Way to skip tests when nothing has changed?

2024-07-22 Thread Romain Manni-Bucau
API could - theorically you can use a flag in the session alreadybut you must not skip surefire is compiler execution is skipped. Surefire has its own inputs and even if the overlap with compiler can be important it is also far to be 1-1 so you skip surefire if nothing changed for surefire not

Re: Way to skip tests when nothing has changed?

2024-07-22 Thread Martin Desruisseaux
Le 2024-07-22 à 21 h 14, Romain Manni-Bucau a écrit : you must not skip surefire is compiler execution is skipped. Surefire has its own inputs and even if the overlap with compiler can be important it is also far to be 1-1 (…snip…) surefire can have custom paths, must consider the env, props

Re: Status of new compiler plugin for Maven 4

2024-07-22 Thread Guillaume Nodet
Le lun. 22 juil. 2024 à 18:41, Martin Desruisseaux a écrit : > > Hello all > > The work on a new maven-compiler-plugin [1] for Maven 4 has reached the > following state: > > * All existing JUnit tests pass > * Integration tests do not yet pass (I'm working on that) > * Plexus compiler depend

Re: Way to skip tests when nothing has changed?

2024-07-22 Thread Guillaume Nodet
FWIW, I started working on an API derived from the takari incremental build. This is available at [1] with usage snippets available at [2]. But the API is much more complex that just a status flag but it would allow automatically skipping any plugin work for which the inputs have not changed at all

Re: Status of new compiler plugin for Maven 4

2024-07-22 Thread Olivier Lamy
very good work. How to use ecj with those changes? Or any other external tool by using the executable configuration? On Tue, 23 Jul 2024 at 02:43, Martin Desruisseaux wrote: > > Hello all > > The work on a new maven-compiler-plugin [1] for Maven 4 has reached the > following state: > > * All ex