diff --git a/hooks/pre-push b/hooks/pre-push
new file mode 100755
index 00000000000..577693490ec
--- /dev/null
+++ b/hooks/pre-push
@@ -0,0 +1,9 @@
+NC='\033[0m' # No Color
+RED='\033[0;31m'
+GREEN='\033[0;32m'
+
+echo "${GREEN} Checking code formatting..."
+mvn formatter:validate > /dev/null
+
+status=$?
+([ $status -eq 0 ] && echo "${GREEN} Formatting is OK ${NC}") || (echo "${RED} Formatting error, you can format the sources with the following command:\n\n\tmvn formatter:format\n${NC}" && exit 1)
diff --git a/pom.xml b/pom.xml
index ab40e6085e8..49242a20d61 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,6 +112,7 @@
3.3.0
4.9.10
4.6
+ 3.4.1
3.4.0
@@ -225,6 +226,24 @@
+
+ com.rudikershaw.gitbuildhook
+ git-build-hook-maven-plugin
+ ${git.build.hook.version}
+
+
+ hooks/
+ true
+
+
+
+
+
+ configure
+
+
+
+
org.apache.maven.plugins
maven-compiler-plugin
diff --git a/tests/tests-integrations/src/test/java/org/eclipse/dirigible/integration/tests/api/java/CsvimIT.java b/tests/tests-integrations/src/test/java/org/eclipse/dirigible/integration/tests/api/java/CsvimIT.java
index 38f1647a6d8..4329c6ca1bf 100644
--- a/tests/tests-integrations/src/test/java/org/eclipse/dirigible/integration/tests/api/java/CsvimIT.java
+++ b/tests/tests-integrations/src/test/java/org/eclipse/dirigible/integration/tests/api/java/CsvimIT.java
@@ -79,8 +79,8 @@ public String toString() {
}
/**
- * Initially the table READERS2 is not defined. However, the other two tables must be imported. Once
- * the table is created, csvim retry should be able to import data in it as well
+ * Initially the table READERS2 is not defined. However, the other two tables must be imported. Once the table is created, csvim retry
+ * should be able to import data in it as well
*/
@Test
void testImportData() throws SQLException {