add generic-java hook
Merge pull request #2560 from bdecoste/master

Merged by openshift-bot