From 30eab2b502324dc4c18a2e30913f1e947aeb47ea Mon Sep 17 00:00:00 2001 From: PatrikBuhr Date: Wed, 29 May 2019 08:31:52 +0000 Subject: Code formatting with maven mvn formatter:format spotless:apply process-sources The follwowing settings are updated from the onap origin: Change-Id: If9c368edc36399e8662aea20c4fbff53756d367a Issue-ID: DCAEGEN2-1538 Signed-off-by: PatrikBuhr --- onap-java-formatter.xml | 296 ++++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 26 +++++ 2 files changed, 322 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 00000000..ccd07d92 --- /dev/null +++ b/onap-java-formatter.xml @@ -0,0 +1,296 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 58feda8c..bdf7111e 100644 --- a/pom.xml +++ b/pom.xml @@ -301,6 +301,32 @@ git-commit-id-plugin ${git-commit-id-plugin.version} + + net.revelc.code.formatter + formatter-maven-plugin + 2.8.1 + + ${project.parent.basedir}/onap-java-formatter.xml + + + + + com.diffplug.spotless + spotless-maven-plugin + 1.18.0 + + + + + com,java,javax,org + + + + + -- cgit 1.2.3-korg