https://bugzilla.redhat.com/show_bug.cgi?id=1847093
--- Comment #4 from Jerry James loganjerry@gmail.com --- I believe that the "BuildRequires: maven-local" gives you a version of maven that is in offline mode. I think if you change maven-local to maven that you'll get a version in online mode.
It may be more work than that. I have no idea what the %mvn_build macro expands to, for example.