why not `MavenBuild.this.getParent().isBuilding()`? The build can be also stuck in post processing IMHO. Otherwise looks good to me.