Fixing pom and Project Action to work with hooks