springboot 打jar包

记录一下。

springboot 打jar包第一步

1、maven打包依赖

<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<includeSystemScope>true</includeSystemScope>
				</configuration>
			</plugin>
		</plugins>
	</build>

2、maven打包命令

mvn clean install -DMaven.test.skip=true

猜你喜欢

转载自blog.csdn.net/shuoshuo_12345/article/details/108485046