Fixed building project by maven

Fix for successful compiling with jenkins