美文网首页
spring-boot v2.2.9源码编译

spring-boot v2.2.9源码编译

作者: 酱油瓶儿_fea9 | 来源:发表于2022-04-12 15:31 被阅读0次

下载地址

https://github.com/spring-projects/spring-boot/tags
找到V2.2.9

image.png

编译

解压文件,进入文件spring-boot-2.2.9RELEASE,执行命令

mvn clean install -DskipTests -Pfast

编译构建如果发生如下异常:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (gradle) on project spring-boot-gradle-plugin: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :spring-boot-gradle-plugin
则执行命令:

mvn clean -rf :spring-boot-gradle-plugin

发生构建成功过了


image.png

然后使用idea到如spring-boot-2.2.9.RELEASE即可


image.png

相关文章

网友评论

      本文标题:spring-boot v2.2.9源码编译

      本文链接:https://www.haomeiwen.com/subject/pgfnsrtx.html