Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling the spring-cloud-function-3.0.1.RELEASE Source Code

  1. 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
    
  2. Switch to the target version.
    1
    2
    3
    cd spring-cloud-function
    git checkout v3.0.1.RELEASE
    git branch
    
  3. 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:

    On CentOS 8.1: