maven打包编译不成功,是引用了父工程,父工程安装之后只是个pom,该pom在私服上是存在的

zhouyusunquan 2017-04-24 05:42:13
gitlab-ci-multi-runner 1.0.4 (014aa8c)
Using Shell executor...
Running on uipcc-release174...
Fetching changes...
HEAD 现在位于 3f5c053 。。
来自 http://10.0.2.173/uipcc_app/App_ucportal
3f5c053..82c6b09 5_1_0_zq -> origin/5_1_0_zq
Checking out 82c6b091 as 5_1_0_zq...
之前的 HEAD 位置是 3f5c053... 。。
HEAD 目前位于 82c6b09... 。。
$ packHash=`git log --pretty=format:"%H" -n 1 | cut -c1-10`
$ gitBranch=`git describe --contains --all HEAD|tr -s '\n'`
$ cd ucportal
$ mvn clean
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project ucportal:ucportal:0.0.1-SNAPSHOT (/home/gitlab-runner/builds/0322aaf5/0/uipcc_app/App_ucportal/ucportal/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find com.utry.common:common_u3clib:pom:5.1.0 in http://10.0.2.172:8081/nexus/content/groups/group/ was cached in the local repository, resolution will not be reattempted until the update interval of utry-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
...全文
658 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Reset玺 2020-11-17
  • 打赏
  • 举报
回复
请问您这个问题解决了吗
zhouyusunquan 2017-04-24
  • 打赏
  • 举报
回复
引用 楼主 zhouyusunquan 的回复:
gitlab-ci-multi-runner 1.0.4 (014aa8c) Using Shell executor... Running on uipcc-release174... Fetching changes... HEAD 现在位于 3f5c053 。。 来自 http://10.0.2.173/uipcc_app/App_ucportal 3f5c053..82c6b09 5_1_0_zq -> origin/5_1_0_zq Checking out 82c6b091 as 5_1_0_zq... 之前的 HEAD 位置是 3f5c053... 。。 HEAD 目前位于 82c6b09... 。。 $ packHash=`git log --pretty=format:"%H" -n 1 | cut -c1-10` $ gitBranch=`git describe --contains --all HEAD|tr -s '\n'` $ cd ucportal $ mvn clean [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project ucportal:ucportal:0.0.1-SNAPSHOT (/home/gitlab-runner/builds/0322aaf5/0/uipcc_app/App_ucportal/ucportal/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find com.utry.common:common_u3clib:pom:5.1.0 in http://10.0.2.172:8081/nexus/content/groups/group/ was cached in the local repository, resolution will not be reattempted until the update interval of utry-nexus has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
在我本地,也是连接私服,是可以打包的,所以搞不清楚问题出在哪里

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧