-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This is just a list of possible improvement.
- use maven to check if code is well formatted e.g : Add formatter-maven-plugin to ensure file are well formatted. eclipse-leshan/leshan#1281
- use maven to check unused import and ensure there are sorted correctly : Add impsort-maven-plugin to ensure Java imports are well sorted. eclipse-leshan/leshan#1282
- use maven to check pom is well sort/formatted : Add sortpom-maven-plugin to ensure pom.xml files are well formatted. eclipse-leshan/leshan#1285
- maven enforcer can be used to check build requirement (examples)
- maven compiler could be configured to raise more error/warning.
- Generally better to fix all version dependency and plugin dependency respectively in
<dependencyManagement>and<pluginManagement> - author and license can be put in pom.xml
- 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
<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
Metadata
Metadata
Assignees
Labels
No labels