cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Bljahhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3819) Problems with Maven pom's
Date Thu, 22 Sep 2011 09:19:27 GMT

    [ https://issues.apache.org/jira/browse/CXF-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112432#comment-13112432
] 

Igor Bljahhin commented on CXF-3819:
------------------------------------

OK, next time I will provide a patch.
Thanks, Willem!

> 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
>             Fix For: 2.5
>
>
> 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

        

Mime
View raw message