From 2ac07a124dcd4c2ef5c75a4246de5c838353c6cd Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Thu, 28 Feb 2019 15:23:44 +1100 Subject: AAI-2198 Consistent code style in resources Add plugins to resources/pom.xml Add Eclipse formatter configuration file Change-Id: I6e86d02e179542247def27aa0b0b111f0d24bfa9 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 bbc14f2..4f695b0 100644 --- a/pom.xml +++ b/pom.xml @@ -51,6 +51,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.codehaus.mojo sonar-maven-plugin -- cgit 1.2.3-korg