From: Keong Lim Date: Thu, 28 Feb 2019 03:31:41 +0000 (+1100) Subject: AAI-2198 Consistent code style in cacher X-Git-Tag: 1.1.0~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=020c5ad0f37b4c0d2cb1fcbee736cfb118b9d3de;p=aai%2Fcacher.git AAI-2198 Consistent code style in cacher Add plugins to cacher/pom.xml Add Eclipse formatter configuration file Change-Id: Ifbc7db3cf1d846b18b179a7dd28af97a16e07c74 Issue-ID: AAI-2198 Signed-off-by: Keong Lim --- diff --git a/onap-java-formatter.xml b/onap-java-formatter.xml new file mode 100644 index 0000000..920d37b --- /dev/null +++ b/onap-java-formatter.xml @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 2bcd732..cc0af48 100644 --- a/pom.xml +++ b/pom.xml @@ -510,6 +510,39 @@ + + + net.revelc.code.formatter + formatter-maven-plugin + 2.8.1 + + ${project.basedir}/onap-java-formatter.xml + + + + + com.diffplug.spotless + spotless-maven-plugin + 1.18.0 + + + + com,java,javax,org + + + + + org.apache.maven.plugins maven-deploy-plugin