The following error
Solution
Was added in <properties> tag
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>