Break build when resource is invalid and ignoreMissingResources = false

Somehow the incrementalBuilding-Feature broke the behaviour that ignoreMissingResource should provide.
This PR throws a MojoExecutionException if a resource is invalid and ignoreMissingResource is set to false.