Spring Boot2.1.13 source code compilation
Download the source code
The clone Git repository can be used to download the source code directly from GitHUb.
Configuring the Maven Environment
Configure a domestic mirror to speed up compilation.
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*</mirrorOf>
<name>Ali Cloud public warehouse</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
<mirror>
<id>activiti-repos2</id>
<mirrorOf>*</mirrorOf>
<name>Activiti Repository 2</name>
<url>https://app.camunda.com/nexus/content/groups/public</url>
</mirror>
<mirror>
<id>springsource-repos</id>
<mirrorOf>*</mirrorOf>
<name>SpringSource Repository</name>
<url>http://repo.spring.io/release/</url>
</mirror>
<mirror>
<id>central-repos</id>
<mirrorOf>*</mirrorOf>
<name>Central Repository</name>
<url>http://repo.maven.apache.org/maven2</url>
</mirror>
Copy the code
Compile source code
Go to the Spring Boot source directory and run:
mvn clean install -DskipTests -Pfast
Copy the code
Import IntellJ IDEA
Add IntellJ IDEA to coding after compiling the source code.