编译spring-cloud-cloudfoundry-2.2.0.RELEASE源码
- 下载spring-cloud-cloudfoundry-2.2.0.RELEASE源码。
1 2 3
cd /home git config --global http.sslVerify false git clone https://github.com/spring-cloud/spring-cloud-cloudfoundry.git
- 切换到指定版本。
1 2
cd spring-cloud-cloudfoundry git checkout v2.2.1.RELEASE
- 执行编译。
1
./mvnw clean install -Dgpg.skip=true
若显示BUILD SUCCESS,则编译通过。
- 编译过程会因checkstyle-plugin报错,引起编译中断 ,请参考编译Spring Boot时提示Failed during checkstyle execution的解决方法解决。
- 如果编译时有报错“Some problems were encountered while processing the POMs”,则执行下面命令编译。
mvn clean install -Dgpg.skip=true
父主题: 编译安装