I'm glad to announce that since today, Maven is available as module for
Fedora 27 modular release .
You can try it out by grabbing and installing modular server from 
(make sure it's from 23 Nov or later, if not try a different mirror) and
then installing default profile of Maven module with DNF, by issuing
command like "dnf install @maven:f27".
Maven module includes full working maven-local too, which means you can
use it for building your modules with Java content.