diff --git a/eclipse-formatter.xml b/eclipse-formatter.xml
new file mode 100644
index 0000000000..a2b5fd1e1f
--- /dev/null
+++ b/eclipse-formatter.xml
@@ -0,0 +1,341 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/swagger-codegen-cli/pom.xml b/modules/swagger-codegen-cli/pom.xml
index 6b56d5a6f5..36482e0752 100644
--- a/modules/swagger-codegen-cli/pom.xml
+++ b/modules/swagger-codegen-cli/pom.xml
@@ -61,6 +61,14 @@
+
+ net.revelc.code
+ formatter-maven-plugin
+
+
+ ${project.basedir}${file.separator}${project.parent.relativePath}${file.separator}eclipse-formatter.xml
+
+
diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml
index 4df64ca4e6..85ac4a9943 100644
--- a/modules/swagger-codegen-maven-plugin/pom.xml
+++ b/modules/swagger-codegen-maven-plugin/pom.xml
@@ -83,5 +83,15 @@
+
+
+ net.revelc.code
+ formatter-maven-plugin
+
+
+ ${project.basedir}${file.separator}${project.parent.relativePath}${file.separator}eclipse-formatter.xml
+
+
+
diff --git a/modules/swagger-codegen/pom.xml b/modules/swagger-codegen/pom.xml
index 21e44ce254..6288700712 100644
--- a/modules/swagger-codegen/pom.xml
+++ b/modules/swagger-codegen/pom.xml
@@ -110,6 +110,14 @@
maven-release-plugin
2.5.3
+
+ net.revelc.code
+ formatter-maven-plugin
+
+
+ ${project.basedir}${file.separator}${project.parent.relativePath}${file.separator}eclipse-formatter.xml
+
+
diff --git a/modules/swagger-generator/pom.xml b/modules/swagger-generator/pom.xml
index c44e4c2afd..c086715639 100644
--- a/modules/swagger-generator/pom.xml
+++ b/modules/swagger-generator/pom.xml
@@ -119,6 +119,14 @@
+
+ net.revelc.code
+ formatter-maven-plugin
+
+
+ ${project.basedir}${file.separator}${project.parent.relativePath}${file.separator}eclipse-formatter.xml
+
+
diff --git a/pom.xml b/pom.xml
index 562011ff71..b85e4885cb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,6 +67,26 @@
target
${project.artifactId}-${project.version}
+
+ net.revelc.code
+ formatter-maven-plugin
+
+
+
+ 1.7
+ 1.7
+ 1.7
+ LF
+
+
org.apache.maven.plugins
maven-checkstyle-plugin
@@ -77,6 +97,8 @@
validate
google_checkstyle.xml
+
+ ${project.build.sourceDirectory}
UTF-8
true
true
@@ -201,6 +223,15 @@
+
+
+
+ net.revelc.code
+ formatter-maven-plugin
+ 0.5.2
+
+
+