[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on project mavenGame: The parameters 'finalName' for goal org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar are missing or invalid -> [Help 1]
pom.xml文件里面没有定义红色字体部分的'finalName' 参数:
1 <properties> 2 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 3 <project.build.target.file.name>mavenGame</project.build.target.file.name> 4 </properties>
加上就好了!