From: Pamela Dragosh Date: Wed, 24 Jun 2020 14:37:30 +0000 (-0400) Subject: Add formatter plugin X-Git-Tag: 3.1.0~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oparent.git;a=commitdiff_plain;h=8cf3f2e9b030eb48bf302a16e3bd38681b33397a Add formatter plugin Optional for projects to use to fix checkstyle formatting. Adding in the onap-java-formatter.xml that is in Policy project. Issue-ID: INT-1488 Change-Id: Ib3ad04818249f5a5b4102679bedaa4e0144cf9d9 Signed-off-by: Pamela Dragosh --- diff --git a/onap-java-formatter.xml b/onap-java-formatter.xml new file mode 100644 index 0000000..1dd9de6 --- /dev/null +++ b/onap-java-formatter.xml @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 6eaab6f..3d1e047 100644 --- a/pom.xml +++ b/pom.xml @@ -152,6 +152,46 @@ sonar-maven-plugin ${sonar.scanner.version} + + + net.revelc.code.formatter + formatter-maven-plugin + 2.11.0 + + ${project.parent.basedir}/onap-java-formatter.xml + + + + + com.diffplug.spotless + spotless-maven-plugin + 1.26.1 + + + + com,java,javax,org + + + + +