Check whether build process is working with newer version of Maven, and consider specifying in pom.xml minimal version of Maven required for building application.
<requireMavenVersion>
<version>3.6.3</version>
<message>Invalid Maven version. It should, at least, be 3.0</message>
</requireMavenVersion>
Check whether build process is working with newer version of Maven, and consider specifying in pom.xml minimal version of Maven required for building application.