From dev-return-18816-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Tue Mar 29 08:42:10 2011 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 46985 invoked from network); 29 Mar 2011 08:42:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Mar 2011 08:42:09 -0000 Received: (qmail 30016 invoked by uid 500); 29 Mar 2011 08:42:09 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 29957 invoked by uid 500); 29 Mar 2011 08:42:08 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 29949 invoked by uid 99); 29 Mar 2011 08:42:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2011 08:42:08 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.169] (HELO mail-px0-f169.google.com) (209.85.212.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2011 08:42:02 +0000 Received: by pxi9 with SMTP id 9so877278pxi.0 for ; Tue, 29 Mar 2011 01:41:40 -0700 (PDT) Received: by 10.143.20.31 with SMTP id x31mr4582239wfi.152.1301388099844; Tue, 29 Mar 2011 01:41:39 -0700 (PDT) Received: from [10.0.1.90] (203-114-161-15.wir.sta.inspire.net.nz [203.114.161.15]) by mx.google.com with ESMTPS id w11sm6985837wfh.18.2011.03.29.01.41.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 01:41:38 -0700 (PDT) Sender: Todd Nine Subject: Help with maven enhancment and circular references on test compilation for plugin From: Todd Nine Reply-To: todd@spidertracks.com To: dev Content-Type: multipart/alternative; boundary="=-L4kWUEACn8s3c8LJlwN+" Organization: Spidertracks Date: Tue, 29 Mar 2011 21:41:35 +1300 Message-ID: <1301388095.3374.3.camel@greenlantern> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 X-Virus-Checked: Checked by ClamAV on apache.org --=-L4kWUEACn8s3c8LJlwN+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi all, I'm using the new meta query model in my testing of my plugin. We're also using maven. Unfortunately I can't seem to invoke the metadata generation plugin during the generate-test-sources phase, since it tries to enhance class files that do not yet exist. My project is here. https://github.com/riptano/hector-jpa Any ideas how I can get around this? My plugin is nearly ready for alpha release, and this is a blocker that needs resolved before we can release the plugin. I really need 2 invocations, the first to generate the meta from source in generate-test-sources, and the enhancement during process-test-classes. Any help would be greatly appreciated. I found this thread, but it doesn't really outline a solution. http://openjpa.208410.n2.nabble.com/Generation-of-Canonical-MetaModel-Classes-with-Maven-td5424291.html Thanks, Todd --=-L4kWUEACn8s3c8LJlwN+--