From: Keong Lim Date: Thu, 28 Feb 2019 03:45:06 +0000 (+1100) Subject: AAI-2198 Consistent code style in gizmo X-Git-Tag: 1.4.0~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;ds=inline;h=fcefc165b45d1dee87c57914e9c45943649d76b8;p=aai%2Fgizmo.git AAI-2198 Consistent code style in gizmo Add plugins to gizmo/pom.xml Add Eclipse formatter configuration file Change-Id: Ifd63553affb1bd20574eff45a4730972b8ca75ff 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 16d43ef..846b39d 100644 --- a/pom.xml +++ b/pom.xml @@ -359,6 +359,39 @@ limitations under the License. ${project.artifactId} + + + 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-resources-plugin