ERROR: Failed to parse POMs
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.ba:goods:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.4.6 from/to nexus (http://xxxxxxxxxx/repository/maven-public/): /usr/local/apache-maven-3.8.3/repo/org/springframework/boot/spring-boot-starter-parent/2.4.6/spring-boot-starter-parent-2.4.6.pom.part.lock (没有那个文件或目录) and 'parent.relativePath' points at no local POM @ line 5, column 13
问题:jenkins对maven配置的本地仓库没有可执行权限
解决方式: chown -R jenkins:jenkins /usr/local/apache-maven-3.8.3/repo