From f1fc19ea220db484101fdf7cb005aa56bd5e8a09 Mon Sep 17 00:00:00 2001 From: Andres Almiray Date: Tue, 3 Aug 2021 18:30:11 +0200 Subject: [PATCH] Add formatter and impsort plugins. Fixes #2 --- pom.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/pom.xml b/pom.xml index 178f0ae..7d84eba 100644 --- a/pom.xml +++ b/pom.xml @@ -58,8 +58,10 @@ 0.3.1 3.0.0-M3 3.0.0-M5 + 2.15.0 3.0.1 1.6 + 1.6.0 3.0.0-M1 3.2.0 3.2.0 @@ -216,6 +218,16 @@ directory-maven-plugin ${version.directory.plugin} + + net.revelc.code.formatter + formatter-maven-plugin + ${version.formatter.plugin} + + + net.revelc.code + impsort-maven-plugin + ${version.impsort.plugin} + @@ -235,6 +247,40 @@ + + net.revelc.code.formatter + formatter-maven-plugin + + ${rootdir}/etc/eclipse-formatter-config.xml + + + + format + + format + + process-sources + + + + + net.revelc.code + impsort-maven-plugin + + java.,javax.,org.,com. + true + true + + + + sort-imports + + sort + + process-sources + + + com.mycila license-maven-plugin