首页
开源
资讯
活动
开源许可证
软件工程云服务
软件代码质量检测云服务
持续集成与部署云服务
社区个性化内容推荐服务
贡献审阅人推荐服务
群体化学习服务
重睛鸟代码扫描工具
登录
注册
代码拉取完成,页面将自动刷新
Watch
67
Star
314
Fork
124
WeBank
/
we-cmdb
Fork 仓库
加载中
取消
确认
代码
Issues
14
Pull Requests
0
Wiki
0
统计
更新失败,请稍后重试!
Issues
/
详情
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
make build出现问题
待办的
#I1VXAG
fantigcy
创建于
2020-09-19 22:18
[root@localhost we-cmdb]# make build mkdir -p repository docker run --rm --name wecmdb-build -v /data/repository:/usr/src/mymaven/repository -v /data/we-cmdb/build/maven_settings.xml:/usr/share/maven/ref/settings-docker.xml -v /data/we-cmdb:/usr/src/mymaven -w /usr/src/mymaven maven:3.3-jdk-8 mvn -U clean install -Dmaven.test.skip=true -s /usr/share/maven/ref/settings-docker.xml dependency:resolve [INFO] Scanning for projects... Downloading: http://mirrors.tencentyun.com/nexus/repository/maven-public/org/springframework/boot/spring-boot-starter-parent/2.1.3.RELEASE/spring-boot-starter-parent-2.1.3.RELEASE.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'version' contains an expression but should be a constant. @ line 21, column 11 [FATAL] Non-resolvable parent POM for com.webank.cmdb:cmdb:${cmdb.version}: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE from/to nexus-tencentyun (http://mirrors.tencentyun.com/nexus/repository/maven-public/): mirrors.tencentyun.com: Temporary failure in name resolution and 'parent.relativePath' points at no local POM @ line 6, column 10 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.webank.cmdb:cmdb:${cmdb.version} (/usr/src/mymaven/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for com.webank.cmdb:cmdb:${cmdb.version}: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE from/to nexus-tencentyun (http://mirrors.tencentyun.com/nexus/repository/maven-public/): mirrors.tencentyun.com: Temporary failure in name resolution and 'parent.relativePath' points at no local POM @ line 6, column 10: Unknown host mirrors.tencentyun.com: Temporary failure in name resolution -> [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 make: *** [build] Error 1
[root@localhost we-cmdb]# make build mkdir -p repository docker run --rm --name wecmdb-build -v /data/repository:/usr/src/mymaven/repository -v /data/we-cmdb/build/maven_settings.xml:/usr/share/maven/ref/settings-docker.xml -v /data/we-cmdb:/usr/src/mymaven -w /usr/src/mymaven maven:3.3-jdk-8 mvn -U clean install -Dmaven.test.skip=true -s /usr/share/maven/ref/settings-docker.xml dependency:resolve [INFO] Scanning for projects... Downloading: http://mirrors.tencentyun.com/nexus/repository/maven-public/org/springframework/boot/spring-boot-starter-parent/2.1.3.RELEASE/spring-boot-starter-parent-2.1.3.RELEASE.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'version' contains an expression but should be a constant. @ line 21, column 11 [FATAL] Non-resolvable parent POM for com.webank.cmdb:cmdb:${cmdb.version}: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE from/to nexus-tencentyun (http://mirrors.tencentyun.com/nexus/repository/maven-public/): mirrors.tencentyun.com: Temporary failure in name resolution and 'parent.relativePath' points at no local POM @ line 6, column 10 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.webank.cmdb:cmdb:${cmdb.version} (/usr/src/mymaven/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for com.webank.cmdb:cmdb:${cmdb.version}: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.3.RELEASE from/to nexus-tencentyun (http://mirrors.tencentyun.com/nexus/repository/maven-public/): mirrors.tencentyun.com: Temporary failure in name resolution and 'parent.relativePath' points at no local POM @ line 6, column 10: Unknown host mirrors.tencentyun.com: Temporary failure in name resolution -> [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 make: *** [build] Error 1
评论 (
0
)
fantigcy
创建了
任务
fantigcy
将
关联仓库
设置为
WeBank/we-cmdb
展开全部操作日志
折叠全部操作日志
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (14)
标签 (28)
master
dev
feat_dot_backend
dev_pro_merge_to_normal
feat-cmdb-model
for_world
table_upgrade
dependabot/go_modules/cmdb-server/github.com/gin-gonic/gin-1.9.0
dependabot/go_modules/cmdb-server/github.com/gin-gonic/gin-1.7.7
custom_col
mermaid
master_remove_remark
old_master
old_dev
v2.1.0
v2.0.23
v2.0.10
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.5.9
v1.5.7
v1.5.5
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.1
v1.3.0
v1.2.0
v1.2.0-rc-1
v1.2.0-alpha-1
v1.1
v1.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)