Description of problem: /usr/lib/rpm/maven.req: print_mvn_requires() adds a: Requires: java > (needed java version) to packages. This prevents a switch to java-headless. Perhaps it should add java-headless instead. I don't know.
You are correct, I haven't realized 3.5.0 didn't include the change from upstream. I'll backport it into rawhide.
Rawhide is fixed, next release will include the change as well