No, I got the same problem. Only 'solved' it by building twice. I'll make sure this gets fixed. please open a jira issue for this agains 3.1a2
..yes but if you make that change I think it will work for the first time and every time.
Just trying to help with an issue a newbie will likely run into. (at least I would.)