Idea to build Springboot source code reading environment

 We first need to make sure you have installed and configured jdk8, maven, git environment

 

First, download the project:

Get the source code from github. URL: https://github.com/spring-projects/spring-boot

We want to build a 2.1.3.RELEASE version, so look for the appropriate version of the release or visit after clicking Tags https://github.com/spring-projects/spring-boot/releases/tag/v2.1.3.RELEASE

Find the sourcecode click to download the source archive

 

After downloading unpack, switch to the directory, execute the command: mvn clean install -DskipTests -Pfast 

The command to skip the test packages, and perform under id <profile> tags under pom file as an option of fast

After patiently wait for the download to complete modules, the project into idea, create a new module, add a reference to the need to lock the file can pom

 

Guess you like

Origin www.cnblogs.com/NealRiver/p/11096095.html