From 8cf3f2e9b030eb48bf302a16e3bd38681b33397a Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Wed, 24 Jun 2020 10:37:30 -0400 Subject: [PATCH] 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 --- onap-java-formatter.xml | 295 ++++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 40 +++++++ 2 files changed, 335 insertions(+) create mode 100644 onap-java-formatter.xml 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 + + + + + -- 2.16.6