Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 8564 invoked from network); 14 Dec 2009 15:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Dec 2009 15:10:37 -0000 Received: (qmail 1995 invoked by uid 500); 14 Dec 2009 15:10:35 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 1902 invoked by uid 500); 14 Dec 2009 15:10:34 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 1892 invoked by uid 99); 14 Dec 2009 15:10:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 15:10:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of justinedelson@gmail.com designates 209.85.219.227 as permitted sender) Received: from [209.85.219.227] (HELO mail-ew0-f227.google.com) (209.85.219.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 15:10:26 +0000 Received: by ewy27 with SMTP id 27so4104150ewy.36 for ; Mon, 14 Dec 2009 07:10:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=oJBg8ffMatA3VsXXsLWxBN274gr94XRs8g/57BvMPyc=; b=AquIWMDYvSgBvAzDTW6EmP/r6h7qU3wdjrwfzbjU6HUNDnJtH+qY16QZBf6FAul1QA LnIvt7YGXqldG11JjOlqo3xunvy6Hj+sJEgfwD/CYiTY1oCNW/4tkb4VoE8v+TrNnpfw Qnq639i4sr11LqDuLduURqV/gSn8gMl+iiL0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NWK+F17Vc15OBVAFaRnvkavIS7uWwWiCN6010t0mR+7vqAfa3J/MU3M2ZsGUR00cwW CnvF1wq0gdXHcBovn2eFJDq7GxCdTh33RKlBoRlx4kdGL3TYdzwa9MN6LO7jBOv/mKNc mx3I2ZKNuV5dVvJ/wm+kXIIX2cMpyNNL7rPHM= MIME-Version: 1.0 Received: by 10.216.89.210 with SMTP id c60mr2030300wef.149.1260803405903; Mon, 14 Dec 2009 07:10:05 -0800 (PST) In-Reply-To: <1ba389ce0912140703k50402f7wd578db9af12ed92f@mail.gmail.com> References: <1ba389ce0912140703k50402f7wd578db9af12ed92f@mail.gmail.com> Date: Mon, 14 Dec 2009 10:10:05 -0500 Message-ID: <7ec3c64c0912140710i1cc4e885w5a132fd42922f35f@mail.gmail.com> Subject: Re: Error using element in From: Justin Edelson To: Maven Users List Content-Type: multipart/alternative; boundary=0016e6d77d7b23fa35047ab1abe1 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d77d7b23fa35047ab1abe1 Content-Type: text/plain; charset=ISO-8859-1 It needs to be * * org.datanucleus datanucleus-core 2.0.0-m4 ...more... * * See http://maven.apache.org/ref/2.2.1/maven-model/maven.html#class_dependencyManagement Justin On Mon, Dec 14, 2009 at 10:03 AM, Matthew Adams wrote: > Hi all, > > I'm trying to support different JPA implementations in my build. > > According to > http://maven.apache.org/guides/introduction/introduction-to-profiles.html, > I can specify the element in a build profile. > However, when I do, I get a POM parse error with the following error > reason: > > Reason: Parse error reading POM. Reason: Unrecognised tag: > 'dependency' (position: START_TAG seen > ...\r\n\t\t\t\t... @329:17) for > project > > Here's the relevant portion from my root pom: > > > > datanucleus > > true > > > datanucleus > > > > org.datanucleus > > datanucleus-core > 2.0.0-m4 > > ... > > > ... > > What am I doing wrong? > > Thanks in advance, > Matthew > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --0016e6d77d7b23fa35047ab1abe1--