wso2 maven发布构建平台修补程序版本4.0.9-找不到org.wso2.appfactory:wso2appfactory父级:pom:1.0.0

wso2 maven发布构建平台修补程序版本4.0.9-找不到org.wso2.appfactory:wso2appfactory父级:pom:1.0.0,wso2,Wso2,重现错误的步骤: svn公司 cd修补程序发行版\4.0.9 mvn清洁 错误: [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 PO

重现错误的步骤:

  • svn公司
  • cd修补程序发行版\4.0.9
  • mvn清洁
  • 错误:

    [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
    

    编辑
    %SRC\u ROOT%\products\appfactory\1.0.0\modules\maven archetype\pom.xml
    ,更改:

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

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