Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 39533 invoked from network); 13 Aug 2009 21:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 21:54:03 -0000 Received: (qmail 79549 invoked by uid 500); 13 Aug 2009 21:54:07 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 79445 invoked by uid 500); 13 Aug 2009 21:54:07 -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 79435 invoked by uid 99); 13 Aug 2009 21:54:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 21:54:07 +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: local policy) Received: from [67.79.3.148] (HELO mail.potomacfusion.com) (67.79.3.148) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 21:53:55 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA1C60.80F66754" Subject: RE: Hibernate 3 Plugin Date: Thu, 13 Aug 2009 16:53:33 -0500 Message-ID: <1FCB142B0D944B4585B02F8EF450FB00285507@pfi-sbs.PFI.LOCAL> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Hibernate 3 Plugin Thread-Index: AcocWmnzK9LuS3GpQMmzQ1HpcpDbuQABUSD2 References: <1FCB142B0D944B4585B02F8EF450FB00285504@pfi-sbs.PFI.LOCAL> <4A8480FE.2070604@gmx.de> From: "Neil Chaudhuri" To: "Maven Users List" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA1C60.80F66754 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable With Karl's suggestion, I changed my plugin definition as follows: org.codehaus.mojo hibernate3-maven-plugin 2.2 hbm2ddl process-classes hbm2ddl hbm2ddl = jpaconfiguration true false false = ${basedir}/src/main/resources/persistence.xml myapp myapp.sql true com.oracle.jdbc ojdbc6 11.1.0.7.0 Unfortunately, I am still getting the same error. =20 I am wondering if this has to do with the fact I have a multi-module = project. This persistence pom produces a jar packaging and is dependent = on no other modules, but it does have a parent pom that simply lists the = modules and defines dependencies in common among modules like Spring. = Should my plugin definition be at the parent level? Thanks. -----Original Message----- From: Karl Heinz Marbaise [mailto:khmarbaise@gmx.de] Sent: Thu 8/13/2009 4:09 PM To: Maven Users List Subject: Re: Hibernate 3 Plugin =20 Hi, you haven't defined an execution for the PlugIN. hbm2ddl process-classes hbm2ddl > > true > false > false > = /target/classes/persistence.xml In my opinion this should be changed... to the given persistence.xml file... >=20 > Here is the persistence.xml founf in src/main/resources as well as = target/classes: ${basedir}/src/main/resources/persistence.xml... Kind regards Karl Heinz Marbaise --=20 SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 W=FCrselen http://www.soebes.de --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org ------_=_NextPart_001_01CA1C60.80F66754--