You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/09/22 10:33:27 UTC

[jira] [Assigned] (CXF-3819) Problems with Maven pom's

     [ https://issues.apache.org/jira/browse/CXF-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CXF-3819:
---------------------------------

    Assignee: Willem Jiang

> Problems with Maven pom's
> -------------------------
>
>                 Key: CXF-3819
>                 URL: https://issues.apache.org/jira/browse/CXF-3819
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5
>         Environment: Maven 3
>            Reporter: Igor Bljahhin
>            Assignee: Willem Jiang
>            Priority: Trivial
>              Labels: maven
>
> Hello,
> I downloaded the source of CXF 2.5.0-SNAPSHOT and tried to build it using Maven's command "mvn install". The following error was raised:
> C:\projects\cxf>mvn install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 2 projects -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.cxf:cxf-rt-rs-security-oauth-parent:2.5.0-SNAPS
> HOT (C:\projects\cxf\rt\rs\security\oauth-parent\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Failure to find org.apache.cxf:cxf-parent
> :pom:2.5.0-SNAPSHOT in http://repos.zeroturnaround.com/nexus/content/groups/publ
> ic was cached in the local repository, resolution will not be reattempted until
> the update interval of nexus has elapsed or updates are forced and 'parent.relat
> ivePath' points at wrong local POM @ line 31, column 13 -> [Help 2]
> [ERROR]
> [ERROR]   The project org.apache.cxf:cxf-services-sts:2.5.0-SNAPSHOT (C:\project
> s\cxf\services\sts\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact org.apache.cxf:cx
> f:pom:2.5.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line
> 28, column 13 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
> ch.
> [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 rea
> d the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
> gException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
> delException
> C:\projects\cxf>
> The problem was fixed, when I changed the value of the node "parent/project/relativePath" in "/cxf/rt/rs/security/oauth-parent/pom.xml" from "../../../parent/pom.xml" to "../../../../parent/pom.xml" and added "<relativePath>../../pom.xml</relativePath>" to the "parent/project" node in "/cxf/services/sts/pom.xml".
> To reproduce the problem you need to remove org/apache/cxf folder from your local maven's repository.
> Hope it helps you!
> With best regards,
> Igor

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira