对Maven打出的jar包名称不满意:
想通过修改配置给jar包改名,查询找到了方法:pom.xml的<build>节点下面添加<finalName>节点,内容是jar包名称:
<build> ... <finalName>furniture-mfg</finalName> </build>
重新打包:mvn clean package
问题解决。
参考:https://javavids.com/video/how-to-change-file-name-generated-by-mvn-package#:~:text=Default%20name%20is%20%3CActifact%20ID%3E-%3Cversion%3E.extension%20%28WAR%20%2F%20JAR%29.,You%20can%20also%20use%20properties%20like%20%24%20%7Bproject.artifactId%7D.