Played with pom file. Should now build propperly.