public boolean isFor(MavenProject project, String goal) {
    if (myProjectPath == null || myGoal == null) return false;
    return VfsUtilCore.pathEqualsTo(project.getFile(), myProjectPath) && goal.equals(myGoal);
  }
public boolean isFor(MavenProject project, String goal)