From: Keong Lim Date: Thu, 28 Feb 2019 04:35:40 +0000 (+1100) Subject: AAI-2198 Consistent code style in schema-service X-Git-Tag: 1.0.1~6^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F24%2F79324%2F1;p=aai%2Fschema-service.git AAI-2198 Consistent code style in schema-service Add plugins to schema-service/pom.xml Add Eclipse formatter configuration file Change-Id: I744c6cf162452b27242ed8f06cb54b50f0079785 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 943977c..77e9026 100644 --- a/pom.xml +++ b/pom.xml @@ -56,6 +56,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