From: PatrikBuhr Date: Wed, 29 May 2019 08:31:52 +0000 (+0000) Subject: Code formatting with maven X-Git-Tag: 1.2.1~13^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=30eab2b502324dc4c18a2e30913f1e947aeb47ea;p=dcaegen2%2Fcollectors%2Fdatafile.git 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 --- 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 + + + + +