Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 48236 invoked from network); 16 Nov 2010 15:42:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 15:42:21 -0000 Received: (qmail 46151 invoked by uid 500); 16 Nov 2010 15:42:52 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 46068 invoked by uid 500); 16 Nov 2010 15:42:52 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 46060 invoked by uid 99); 16 Nov 2010 15:42:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 15:42:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 15:42:51 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAGFgVHu006555 for ; Tue, 16 Nov 2010 15:42:31 GMT Message-ID: <15779375.110811289922151158.JavaMail.jira@thor> Date: Tue, 16 Nov 2010 10:42:31 -0500 (EST) From: "Stephen Godwin (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Updated: (ARIES-494) Missing relativePath element in parent section of pom.xml files cause a build from scatch to fail with Maven 3 In-Reply-To: <25661910.110641289922013139.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ARIES-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Godwin updated ARIES-494: --------------------------------- Attachment: parentRelativePath.patch Patch to add relativePath elements to Parent section of pom.xml files. > 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 > 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.