Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 34808 invoked from network); 20 May 2010 14:24:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 May 2010 14:24:18 -0000 Received: (qmail 43562 invoked by uid 500); 20 May 2010 14:24:18 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 43545 invoked by uid 500); 20 May 2010 14:24:17 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 43537 invoked by uid 99); 20 May 2010 14:24:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 14:24:17 +0000 X-ASF-Spam-Status: No, hits=-0.9 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 20 May 2010 14:24:11 +0000 Received: (qmail 23680 invoked from network); 20 May 2010 14:23:50 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 20 May 2010 14:23:50 -0000 Message-Id: From: Andrus Adamchik To: user@cayenne.apache.org In-Reply-To: <22457534-F652-48D2-8A45-83ED77547318@objectstyle.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Building dataview jar for use with Cayenne 3.0 (or...is ANYONE using dataviews in 3.0?) Date: Thu, 20 May 2010 17:23:49 +0300 References: <22457534-F652-48D2-8A45-83ED77547318@objectstyle.org> X-Mailer: Apple Mail (2.936) Just committed changes to the POM files to make sure DV is using Cayenne 3.0-final, and a few more. Here is a commit comment: * Jira has moved * making POM independent from Cayenne POM * setting Cayenne version at 3.0 * switching Java compiler settings to 1.5 Hope this will get you going. Cheers, Andrus On May 20, 2010, at 10:40 AM, Andrus Adamchik wrote: > Hi Mark, > > let me fix up the POM removing snapshot references and try building > it myself. I will let you know when this is done. > > Andrus > > > On May 20, 2010, at 12:13 AM, Mark Fraser wrote: >> I am trying to migrate a Cayenne 2.0.4 project that is a swing- >> based desktop >> application that heavily uses data views. The reason I have not >> migrated >> previously is that previous attempts have failed due to a myriad of >> problems >> created in large part due to the removal of dataviews from the main >> project. I am trying again (one last time) and am having a problem >> right >> from the start that I need help with. >> >> I figured the first thing I need to do is make sure I can build the >> dataview >> jar as explained here: >> >> https://svn.apache.org/repos/asf/cayenne/dataviews/trunk/README.txt >> >> When I check out the code and run 'mvn clean install' I immediately >> get the >> following error: >> >> --------------- >> [INFO] Scanning for projects... >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] FATAL ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Error building POM (may not be this project's POM). >> >> Project ID: org.apache.cayenne.dataview:dataview-parent:pom:3.0- >> SNAPSHOT >> >> Reason: Cannot find parent: org.apache.cayenne:cayenne-parent for >> project: >> org.apache.cayenne.dataview:dataview-parent:pom:3.0-SNAPSHOT for >> project >> org.apache.cayenne.dataview:dataview-parent:pom:3.0-SNAPSHOT >> --------------- >> >> I then tried compiling the main cayenne trunk and this successfully >> compiled >> and added to my maven repository...but the same error occurred when >> I went >> back and tried compiling the dataview project again. >> >> I am not thoroughly familiar with Maven so I'm not sure if the >> problem is >> with my setup or with the pom.xml or what. >> >> Any help would be appreciated. >> >> Thanks, >> >> Mark > >