Updated Maven buildfile to work correctly and package the project