在pom文件中添加<finalName>标签,标签内填写想要生成的jar包名称:
<build> <finalName>eureka-server-1.2</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>
转自https://blog.csdn.net/yaomingyang/article/details/85224368
原文地址:https://www.cnblogs.com/ithfm/p/10899014.html
时间: 2024-10-10 11:45:05