Hi,

It's because of missing parent pom. It's available at the parent directory
from there (in svn repo), but it also depends on the its parent, and so on.

As a workaround to get the sample build, I removed the parent entry from
the pom.xml, and added the groupID and version separately. So the Final pom
will be,

<project xmlns="http://maven.apache.org/POM/4.0.0";
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>



<groupId>org.wso2.identity</groupId>
<version>4.6.0</version>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>wso2is-identity-samples-sso</artifactId>
    <packaging>pom</packaging>
    <name>Identity Server : SSO Samples</name>

    <modules>
        <module>SSOAgentSample</module>
    </modules>

</project>




On Fri, May 2, 2014 at 12:27 PM, Shani Ranasinghe <[email protected]> wrote:

> Hi,
> I am getting the following error when trying to build 4.6.0 travelocity
> SSO sample.
>
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.wso2.identity:org.wso2.sample.is.sso.agent:1.1.0
> (/customCode/sso/SSOAgentSample/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM for
> org.wso2.identity:wso2is-identity-samples-sso:4.6.0: Failure to find
> org.wso2.identity:wso2is-identity-samples:pom:4.6.0 in
> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
> local repository, resolution will not be reattempted until the update
> interval of wso2-nexus has elapsed or updates are forced and
> 'parent.relativePath' points at wrong local POM @
> org.wso2.identity:wso2is-identity-samples-sso:4.6.0,
> /customCode/sso/pom.xml, line 22, column 13 -> [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
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pulasthi Mahawithana*
Software Engineer
WSO2 Inc., http://wso2.com/
Mobile: +94-71-5179022
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to