Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling the spring-cloud-kubernetes-1.1.1.RELEASE Source Code

  1. Download the spring-cloud-kubernetes-1.1.1.RELEASE source package.
    1
    2
    3
    cd /home
    git config --global http.sslVerify false
    git clone https://github.com/spring-cloud/spring-cloud-kubernetes.git
    
  2. Switch to the target version.
    1
    2
    cd spring-cloud-kubernetes
    git checkout -b v1.1.1.RELEASE tags/v1.1.1.RELEASE
    
  3. Perform the compilation.
    1
    ./mvnw clean install -Dgpg.skip=true
    

    If BUILD SUCCESS is displayed, the compilation is successful.

    • If the error message "Some problems were encountered while processing the POMs" is displayed, run the following command:
      mvn clean install -Dgpg.skip=true
    • 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.
    • During the compilation, an error with the config module may be reported because the K8s protocol used by the config module in the current Spring Cloud Kubernetes version is HTTP3. You need to delete TLSv1 from the java.config file in the /etc/crypto-policies/back-ends directory and run the compilation command again.