From: Keong Lim Date: Thu, 28 Feb 2019 04:23:44 +0000 (+1100) Subject: AAI-2198 Consistent code style in resources X-Git-Tag: 1.4.0~11^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F79323%2F2;p=aai%2Fresources.git 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 --- 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 bbc14f29..4f695b0c 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