Ignore target directory instead of build since switching to Maven.