From 020c5ad0f37b4c0d2cb1fcbee736cfb118b9d3de Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Thu, 28 Feb 2019 14:31:41 +1100 Subject: 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 --- onap-java-formatter.xml | 295 ++++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 33 ++++++ 2 files changed, 328 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..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 -- cgit 1.2.3-korg