Compiling the spring-cloud-task-2.2.2.RELEASE Source Code
- Download the spring-cloud-task-2.2.2.RELEASE source code.
1 2 3
cd /home git config --global http.sslVerify false git clone https://github.com/spring-cloud/spring-cloud-task.git
- Switch to the target version.
1 2
cd spring-cloud-task git checkout 2.2.2.RELEASE
- Perform the compilation.
1./mvnw clean install -Dgpg.skip=true

If BUILD SUCCESS is displayed, the compilation is successful.
If apache-maven fails to be downloaded, see mvnw Command Failed to Pull apache-maven.
If an error is reported during the compilation due to checkstyle-plugin, rectify the fault by following instructions in "Failed during checkstyle execution" Displayed When Compiling Spring Boot.
Parent topic: Compiling and Installing Spring Cloud