Hi Jochen, > what is our stance with regard to new plugins? Because, I'd like to propose > one: > > The source-fixes-maven-plugin (Suggestions for a better name quite welcome.) > is kind of companion to the checkstyle-maven-plugin. > If there are issues, that the latter detects, and that can be fixed > automatically, then > the former will do just that. Examples: > > - Replace leading spaces with tabs, or vice versa. > - Replace CRLF with LF, or vice versa. > - Remove trailing blanks.
if you are using an .editorconfig, then the editorconfig-maven-plugin's format goal [1] should be able to accomplish this, at least for the three properties you've listed above [2]. Hope this helps. Best wishes, Andreas [1] <https://ec4j.github.io/editorconfig-maven-plugin/format-mojo.html> [2] <https://github.com/ec4j/editorconfig-maven-plugin#how-it-works> -- You received this message because you are subscribed to the Google Groups "mojohaus-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/92e8e446-672a-0f94-9b28-03c4a4cb39b8%40buildingblobs.com.
signature.asc
Description: OpenPGP digital signature
