From: Keong Lim Date: Thu, 28 Feb 2019 00:46:32 +0000 (+1100) Subject: AAI-2198 Consistent code style in aai-common X-Git-Tag: 1.4.2~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e06ec44748af91bb7d54f5821859526b13cc1039;p=aai%2Faai-common.git AAI-2198 Consistent code style in aai-common Add plugins to aai-common/pom.xml Add Eclipse formatter configuration file Issue-ID: AAI-2198 Change-Id: Ie415f3fa0a408f775133f27a3bf8904a1f65a8a3 Signed-off-by: Keong Lim --- diff --git a/onap-java-formatter.xml b/onap-java-formatter.xml new file mode 100644 index 00000000..920d37b0 --- /dev/null +++ b/onap-java-formatter.xml @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index f90fea90..77a55278 100644 --- a/pom.xml +++ b/pom.xml @@ -57,6 +57,39 @@ + + + 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 + + + + + org.apache.maven.plugins maven-compiler-plugin