You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Oleg Artyomov (JIRA)" <ji...@apache.org> on 2011/01/08 13:37:45 UTC

[jira] Commented: (ARIES-494) Missing relativePath element in parent section of pom.xml files cause a build from scatch to fail with Maven 3

    [ https://issues.apache.org/jira/browse/ARIES-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979122#action_12979122 ] 

Oleg Artyomov commented on ARIES-494:
-------------------------------------

Could you sat if it is default behaviour in Maven 3? In Maven2 this problem was absent.

> Missing relativePath element in parent section of pom.xml files cause a build from scatch  to fail with Maven 3
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-494
>                 URL: https://issues.apache.org/jira/browse/ARIES-494
>             Project: Aries
>          Issue Type: Bug
>    Affects Versions: 0.3
>            Reporter: Stephen Godwin
>            Assignee: Jeremy Hughes
>             Fix For: 0.3
>
>         Attachments: parentRelativePath.patch
>
>
> If you are building Apache Aries from scratch with Maven 3 using the instructions from http://incubator.apache.org/aries/buildingaries.html 
> it fails at the 'mvn clean' step with several errors like:
> [ERROR]   The project org.apache.aries:eba-maven-plugin:0.3-incubating-SNAPSHOT (/home/godwins/aries/aries/eba-maven-plugin/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact org.apache.aries:java5-parent:pom:0.3-incubating-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 25, column 13 -> [Help 2]
> Even with the Aries parent project already installed in the Maven repository several warnings about the parent ID not matching the path appear.
> Reading the compatibility notes for Maven 3 (https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html) it appears we need a relativePath element in the parent section of the pom.xml files.
> I have a patch that fixes this problem which I will attach to this defect.
> I have tested that with the patch applied to revision 1035298 Aries continues to build with Maven 2 and also now builds with Maven 3.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.