The build is broken on the
YARN-2928 branch at the hadoop-yarn-server-timelineservice module. It's been broken for a while, but we didn't notice it because the build happens to work despite this if the maven local cache is not cleared.
To reproduce, remove all hadoop (3.0.0-SNAPSHOT) artifacts from your maven local cache and build it.
Almost certainly it was introduced by