欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI

页面树结构

欢迎使用普元文档库

Skip to end of metadata
Go to start of metadata

【问题】

EOS Platform 7.6 配置了maven仓库,导入coframe源码,使用clean package命令打包,报如下错误:

    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]   
    [ERROR]   The project com.primeton.eos.org.gocom.components.coframe.core:org.gocom.components.coframe.core:1.0.0 (C:\ztkc\ide\eclipse\workspace\org.gocom.components.coframe.core\pom.xml) has 1 error
    [ERROR]     Non-resolvable parent POM: Could not transfer artifact com.primeton.build:eos-bps-coframe:pom:1.0.0.0 from/to primeton-public-        repository (http://192.168.2.1:8081/nexus/content/groups/primeton_public_repositories/): connection timed out to http://192.168.2.1:8081/nexus/content/groups/primeton_public_repositories/com/primeton/build/eos-        bps-coframe/1.0.0.0/eos-bps-coframe-1.0.0.0.pom and 'parent.relativePath' points at wrong local POM @ line 4, 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

【解答】

检查发现项目中导入的coframe源码不完整,缺少了一个构件包,导入完整的源码clean package打包不会报错