只需要在pom.xml的<build>标签中加上这个即可:
1 <build> 2 <finalName>my-spring-boot</finalName> <!-- 指定package生成的文件名为my-spring-boot.jar --> 3 4 <plugins> 5 ...... 6 </plugins> 7 </build>
只需要在pom.xml的<build>标签中加上这个即可:
1 <build> 2 <finalName>my-spring-boot</finalName> <!-- 指定package生成的文件名为my-spring-boot.jar --> 3 4 <plugins> 5 ...... 6 </plugins> 7 </build>
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。