Reworked pom.xml, now it works
Added "target" folder to gitignore