There was an error while loading. Please reload this page.
1 parent abebac7 commit 687a5a6Copy full SHA for 687a5a6
2 files changed
.git-hooks/pre-push
@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+
3
+mvn clean package
pom.xml
@@ -230,6 +230,25 @@
230
<artifactId>maven-surefire-plugin</artifactId>
231
<version>${surefire.version}</version>
232
</plugin>
233
234
+ <plugin>
235
+ <groupId>com.rudikershaw.gitbuildhook</groupId>
236
+ <artifactId>git-build-hook-maven-plugin</artifactId>
237
+ <version>3.4.1</version>
238
+ <configuration>
239
+ <installHooks>
240
+ <pre-push>.git-hooks/pre-push</pre-push>
241
+ </installHooks>
242
+ </configuration>
243
+ <executions>
244
+ <execution>
245
+ <phase>package</phase>
246
+ <goals>
247
+ <goal>install</goal>
248
+ </goals>
249
+ </execution>
250
+ </executions>
251
+ </plugin>
252
</plugins>
253
</build>
254
0 commit comments