From jackrabbit-dev-return-56-apmail-incubator-jackrabbit-dev-archive=www.apache.org@incubator.apache.org Fri Sep 24 05:14:50 2004 Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 61471 invoked from network); 24 Sep 2004 05:14:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Sep 2004 05:14:50 -0000 Received: (qmail 42463 invoked by uid 500); 24 Sep 2004 05:16:55 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 42437 invoked by uid 99); 24 Sep 2004 05:16:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [205.158.62.78] (HELO smtp1.us4.outblaze.com) (205.158.62.78) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 23 Sep 2004 22:16:53 -0700 Received: (qmail 26784 invoked from network); 24 Sep 2004 05:16:51 -0000 Received: from unknown (HELO jtfb411) (tim.reilly:consultant.com?mail.com@65.34.226.232) by smtp1.us4.outblaze.com with SMTP; 24 Sep 2004 05:16:51 -0000 From: "Tim Reilly" To: Subject: RE: Distributing the JCR API jar? Date: Fri, 24 Sep 2004 01:19:05 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal In-Reply-To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [Roy Fielding wrote:] > We can ensure the version in jackrabbit is up to date. I don't think > we are able to place it in a public maven repository until both the > spec and the code are at final release. Can't we just add a pre-script > to the Maven build such that it copies the jcr-in-progess jar file from > the svn checkout to the local maven repository? > Sure, maven's artifact:install goal does this, and we can add a pre-goal in a maven.xml file. The challege is rather that the ant build.xml generated by maven wants to use the GET task to grab the jar from a public repository. If you have a clean checkout, or if you '$>maven clean' prior to executing build.xml; the jcr-api jar doesn't exist in the target directory so the ant build fails. There are a couple of solutions I think; a public repository would have been my preference though. -TR