diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..962eb505
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_style = space
+indent_size = 4
diff --git a/checkstyle.xml b/checkstyle.xml
new file mode 100644
index 00000000..bf13ff3f
--- /dev/null
+++ b/checkstyle.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 60569aa4..ab155409 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,6 +132,26 @@
${target.version}
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 2.17
+
+ checkstyle.xml
+
+ true
+
+
+
+ validate
+
+ check
+
+
+
+