1 2 3 |
cd /home git config --global http.sslVerify false git clone https://github.com/spring-cloud/spring-cloud-cli.git |
1 2 |
cd spring-cloud-cli git checkout v2.2.1.RELEASE |
1
|
wget https://jcenter.bintray.com/org/springframework/boot/experimental/spring-boot-thin-launcher/1.0.22.RELEASE/spring-boot-thin-launcher-1.0.22.RELEASE-exec.jar
|
1
|
mkdir -p /root/.m2/repository/org/springframework/boot/experimental/spring-boot-thin-launcher/1.0.22.RELEASE/ |
1
|
\cp spring-boot-thin-launcher-1.0.22.RELEASE-exec.jar /root/.m2/repository/org/springframework/boot/experimental/spring-boot-thin-launcher/1.0.22.RELEASE/ |
1 2 |
cd /home/spring-cloud-cli/ ./mvnw clean install -Dgpg.skip=true |
若显示BUILD SUCCESS,则编译通过。