This is just a list of possible improvement. 1. use maven to check if code is well formatted e.g : https://github.com/eclipse-leshan/leshan/pull/1281 2. use maven to check unused import and ensure there are sorted correctly : https://github.com/eclipse-leshan/leshan/pull/1282 3. use maven to check pom is well sort/formatted : https://github.com/eclipse-leshan/leshan/pull/1285 4. maven enforcer can be used to check build requirement ([examples](https://github.com/eclipse-leshan/leshan/blob/89679afe861f83570f4b5e078dd29cab0173edb5/pom.xml#L646-L666)) 5. maven compiler [could be configured to raise more error/warning](https://github.com/eclipse-leshan/leshan/blob/89679afe861f83570f4b5e078dd29cab0173edb5/build-config/pom.xml#L40-L51). 6. Generally better to fix all version dependency and plugin dependency respectively in `<dependencyManagement>` and `<pluginManagement>` 7. author and license can be put in pom.xml 8. flatten-maven-plugin is cool to have complete pom.xml by jar (but maybe too soon to do that and not needed with maven 4 if I get it correctly) Also to be use to use last version of plugin you can use ```xml <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.19.1</version> </plugin> ``` and `mvn versions:display-dependency-updates` to check dependency and `mvn versions:display-plugin-updates` to check plugin dependency
This is just a list of possible improvement.
<dependencyManagement>and<pluginManagement>Also to be use to use last version of plugin you can use
and
mvn versions:display-dependency-updatesto check dependencyand
mvn versions:display-plugin-updatesto check plugin dependency