首先需要確保已經安裝和配置jdk8,maven,git環境
一,項目下載:
從github獲取源碼。網址:https://github.com/spring-projects/spring-boot
我們要搭建的是2.1.3.RELEASE版本,所以點擊release 之后在tags查找相應版本或者訪問https://github.com/spring-projects/spring-boot/releases/tag/v2.1.3.RELEASE
找到 后點擊sourcecode下載源碼壓縮包
下載 完成后解壓,切換到所在目錄,執行命令:mvn clean install -DskipTests -Pfast
該命令為跳過test打包,並執行pom文件下<profile>標簽下id為fast的選項
耐心等待下載完成后,將項目導入idea,新建一個module,添加鎖需要的模塊引用到 pom文件即可