由于 自定义 maven 仓库没权限

resources-plugin-2.6.pom.part.lock (没有那个文件或目录)_自定义

 

 

 

/home/repository 自定义目录

[root@localhost Service]# cat /etc/group|grep jenkins
jenkins:x:984:
[root@localhost Service]# cat /etc/passwd|grep jenkins
jenkins:x:989:984:Jenkins Automation Server:/var/lib/jenkins:/bin/false
[root@localhost Service]# groups jenkins
jenkins : jenkins
[root@localhost Service]# chown -R jenkins:jenkins /home/repository
[root@localhost Service]# chmod -R 755 /home/repository/
[root@localhost Service]#

 

resources-plugin-2.6.pom.part.lock (没有那个文件或目录)_maven_02

 

resources-plugin-2.6.pom.part.lock (没有那个文件或目录)_maven_03