mvn-rpmbuild

This package provides macros and scripts to support packaging

CentOS
RUN yum install -y maven-local
Fedora
RUN dnf install -y maven-local
click the source code to copy install mvn-rpmbuild on any operating system with command-not-found.com