wso2 maven issue building platform patch release 4.0.9 - failure to find org.wso2.appfactory:wso2appfactory-parent:pom:1.0.0

我与影子孤独终老i 提交于 2019-12-25 03:10:49

问题


Steps to reproduce error:

  1. svn co https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0
  2. cd patch-releases\4.0.9
  3. mvn clean

Error:

[ERROR]   The project org.wso2.appfactory:maven-archetype:1.0.0 (C:\wso2\src\wso2_platform_branch_400\products\appfactory\1.0.0\modules\maven-archetype\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find org.wso2.appfactory:wso2appfactory-parent:pom:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 21, column 13

回答1:


Edit %SRC_ROOT%\products\appfactory\1.0.0\modules\maven-archetype\pom.xml, change:

<parent>
    ...
    <relativePath>../../../pom.xml</relativePath>
</parent>

To:

<parent>
    ...
    <relativePath>../../../1.0.0/pom.xml</relativePath>
</parent>


来源:https://stackoverflow.com/questions/17431254/wso2-maven-issue-building-platform-patch-release-4-0-9-failure-to-find-org-wso

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!