编译spring-cloud-function-3.0.1.RELEASE源码

  1. 下载spring-cloud-function-3.0.1.RELEASE源码。

    1
    2
    3
    cd /home
    git config --global http.sslVerify false
    git clone https://github.com/spring-cloud/spring-cloud-function.git
    

  2. 切换到指定版本。

    1
    2
    3
    cd spring-cloud-function
    git checkout v3.0.1.RELEASE
    git branch
    

  3. 执行编译。

    1
    ./mvnw clean install -Dgpg.skip=true
    

    若显示BUILD SUCCESS,则编译通过。

    CentOS 7.6&openEuler 20.03:

    CentOS 8.1: