On 10/11/2025 18:55, Gary Gregory wrote:

I think it needs to run before any tests or anything time consuming is
done. It's so lame when a build runs and it only fails at the very end
because something as simple as a messed up or missing license header.

Can you make it do that?

Binding the plugin to the process-test-resources phase would do that I guess.

But the issue here is a question of balance between one or two devs having to relaunch the tests once due to a bad file vs everyone paying the cost of the full project verification on every build.

For commons-cli for example, rat spends 21 seconds checking the files on my laptop (ok it's 8 years old but that's 45% of the time spend for 'mvn compile').

Emmanuel Bourg

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

Reply via email to