在近期学习前后端交互知识,在使用idea配置maven环境中,尽管查阅了大量资料,最终还是出现了众多的问题,特此记录,以备后续需要。
配置Maven中,自定义仓库权限不足
解决:
下述代码中jenkins为二级权限用户,无访问系统文件权限,现设置权限,使自定义仓库目录可供使用
[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]#
更改后重新刷新即可正常使用