no objection, PR merged for enforcing, it can be a future enhancement if someone contributes
Regards, Hervé Le samedi 13 novembre 2021, 19:49:09 CET Romain Manni-Bucau a écrit : > While enforced at mvn package +1 from me > > Le sam. 13 nov. 2021 à 15:04, Hervé BOUTEMY <herve.bout...@free.fr> a > > écrit : > > I had a look at https://github.com/apache/maven-site/pull/269 > > > > seems reasonable: we'll just need to have someone implement the same for > > Eclipse format > > > > if nobody objects, I'll merge in 1 week > > > > Regards, > > > > Hervé > > > > Le vendredi 17 septembre 2021, 23:19:25 CET Slawomir Jaranowski a écrit : > > > Hi, > > > > > > We have described many rules about code style on Maven Code Style And > > > > Code > > > > > Conventions [1]. > > > > > > One item missing for me is how java imports should be ordered and > > > groped. > > > I can setup it in IDE and it is very useful to use code formatting with > > > tools. > > > I think that all propositions in this case will be ok - the most > > > > important > > > > > is to have one standard. > > > At the end we can even use checkstyle to verify it ... [2] > > > > > > So first proposition: > > > > > > - import javax.* > > > - import java.* > > > > > > - blank line > > > > > > - all other imports > > > > > > - blank line > > > > > > - import static all other imports > > > > > > > > > [1] https://maven.apache.org/developers/conventions/code.html > > > [2] https://checkstyle.sourceforge.io/config_imports.html#ImportOrder > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org