SpringBoot 源码编译
1、从GitHub上下载源码
https://github.com/spring-projects/spring-boot/tree/2.1.x
下载源码的下面有关于编译源码的介绍:
Spring Boot官方建议使用./mvnw clean install或者标准的mvn clean install命令来编译源代码,如果要使用标准的mvn命令的话,Maven的版本要求在3.5.0或以上。
使用./mvnw clean install的话,它会自动下载maven 3.5.0
./mvnw clean install -DskipTests -Pfast
使用标准的mvn clean install
mvn clean install -DskipTests -Pfast -Dmaven.test.failure.ignore=true