locationtech / udig-platform

uDig parent project containing all core components. More plugins can be found in community repos: http://github.com/uDig-Community
http://udig.refractions.net
190 stars 133 forks source link

HK : using sortpom for unique format pom.xml #683

Closed fgdrf closed 2 years ago

fgdrf commented 2 years ago

Sortpom Maven Plugin helps to get and keep the same formation overall pom-files in the project. It sorts the xml elements dependent from the Maven model but is highly configurable in terms of what to format/sort and how.

Kudos to @aaime who introduced the plugin in GeoTools project.

Whenever edited a pom file just run mvn sortpom:sort -Dtycho.mode=maven -Dall -Pdocs,product,sdk to format it before committing. Build verifies if the pom files need to be re-formated or already valid.

Signed-off-by: Frank Gasdorf fgdrf@users.sourceforge.net

fgdrf commented 2 years ago

@sschulz92 @olsmn What do you think?

fgdrf commented 2 years ago

Looks like we need a sortpom version which is java 1.8 compatible .. investigating. verified it with Java 11 locally

fgdrf commented 2 years ago

"Downgraded" from 3.x version to 2.15.0 which allows to build and verify with Java 1.8 as well