So if the community prefer enforcing strict formatting using a validation
step during the build,  I'll update  the PRs on maven-core and
maven-resolver to leverage the added resources (xml format, header, etc...)
and create two profiles for validation / reformatting, leveraging spotless
(I've just given it a try and it seems easier and more powerful, so I'm
fine with using it instead of the two plugins I was using).

Le jeu. 13 oct. 2022 à 18:36, Slawomir Jaranowski <s.jaranow...@gmail.com>
a écrit :

> czw., 13 paź 2022 o 17:41 Guillaume Nodet <gno...@apache.org> napisał(a):
>
>
> > So the plugin I'm using actually has a validate goal which won't do any
> > formatting, but simply fail the build if the code is not correctly
> > formatted.
> > So it should be easy add that goal in PRs.  Any PR will simply quickly
> fail
> > if the code is not correctly formatted.  Is that what you have in mind ?
> >
> >
> +1 for simply checking during build, formatting should be done by
> developer, nevermind if using plugin or by IDE
> It can work like checkstyle.
>
> --
> Sławomir Jaranowski
>


-- 
------------------------
Guillaume Nodet

Reply via email to