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

If BUILD SUCCESS is displayed, the compilation is successful.
- If the error message "checkstyle" is reported during the compilation, rectify the fault by following instructions in "Failed during checkstyle execution" Displayed When Compiling Spring Boot.
- If the error message "connection refused" is reported during the compilation or a GitHub download error occurs, check the network proxy or network connectivity and try again for multiple times.
On CentOS 7.6/openEuler 20.03:
- If the compilation environment needs to use a proxy to access the Internet, a dependency pull problem may occur. In this case, rectify the fault by following the instructions in spring-cloud-function Dependency Pulling Failure.
On CentOS 8.1:
- If the error message "RuntimeJavaCompilerTests" is reported during compilation, this problem is related to JAR file download. For details, see spring-cloud-function Dependency Pulling Failure.
Parent topic: Compiling and Installing Spring Cloud