From 13b2f22e31296d61abfc7ac666b7f603b37412bb Mon Sep 17 00:00:00 2001
From: Smart123s <28480228+Smart123s@users.noreply.github.com>
Date: Mon, 18 Apr 2022 09:18:55 +0200
Subject: [PATCH] Add code formatter
Add checkstyle as maven goal
This will fail the build if the code is not formatted properly
---
pom.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/pom.xml b/pom.xml
index 517a10ac..9f463907 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,26 @@
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+ 3.1.2
+
+ UTF-8
+ true
+ true
+ false
+
+
+
+ validate
+ validate
+
+ check
+
+
+
+