diff --git a/.git-hooks/pre-push b/.git-hooks/pre-push new file mode 100644 index 0000000..451b416 --- /dev/null +++ b/.git-hooks/pre-push @@ -0,0 +1,3 @@ +#!/bin/bash + +mvn clean package \ No newline at end of file diff --git a/pom.xml b/pom.xml index 41fa064..157f07b 100644 --- a/pom.xml +++ b/pom.xml @@ -230,6 +230,25 @@ maven-surefire-plugin ${surefire.version} + + + com.rudikershaw.gitbuildhook + git-build-hook-maven-plugin + 3.4.1 + + + .git-hooks/pre-push + + + + + package + + install + + + +