Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 65785 invoked from network); 20 Mar 2009 14:31:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2009 14:31:36 -0000 Received: (qmail 26487 invoked by uid 500); 20 Mar 2009 14:31:30 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 26421 invoked by uid 500); 20 Mar 2009 14:31:30 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 26407 invoked by uid 99); 20 Mar 2009 14:31:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 07:31:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.217.161 as permitted sender) Received: from [209.85.217.161] (HELO mail-gx0-f161.google.com) (209.85.217.161) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 14:31:22 +0000 Received: by gxk5 with SMTP id 5so2342623gxk.18 for ; Fri, 20 Mar 2009 07:31:01 -0700 (PDT) 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 :content-transfer-encoding; bh=p57LrYfKmlJs7bQetb1Im7FnpsHJKlNp6QYkLS+r4p0=; b=vXLqVromH4dvmZG8l88hqbg8lGVpErKro0vR+EYlT+bNTnpwUafrAEU7wPHwuOkUO2 3idHb/OnOk+rDCeO+KXP1gsLM1L6AjYC1VrDljGcucyy3QqYJGMCNZPDiOp/y6nabjbZ pRWj9HgIRemiyaCmC7qYO5qlEenc4g/grTGFY= 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:content-transfer-encoding; b=chLls73ZQOs2j0LFaXzccR2OCukDtxp8IeTC24TdMjlC8cYzhenk/axeEBahskrYR0 teX+nLy0Ed9u89gmOTrpRJt7yOxoSSdmxwhiWXEgpOKKD4dmpE3Apbn8/6JZOOiS38zU MaxUOLnOQM8oiMRaQeDyb2Cbt0tvwaUjWxT8g= MIME-Version: 1.0 Received: by 10.150.133.13 with SMTP id g13mr6561047ybd.232.1237559461634; Fri, 20 Mar 2009 07:31:01 -0700 (PDT) In-Reply-To: <49C3AFAD.1010108@boboco.ie> References: <25aac9fc0903180851n7c8c6875waeea71313ce6696d@mail.gmail.com> <31cc37360903192238u13424739o96beedb5d83451cd@mail.gmail.com> <25aac9fc0903200653j6226a006ka98419476c15a128@mail.gmail.com> <49C3AFAD.1010108@boboco.ie> Date: Fri, 20 Mar 2009 14:31:01 +0000 Message-ID: <25aac9fc0903200731w5bab751alb84409db0438a638@mail.gmail.com> Subject: Re: [LANG] 3.0 JCIP Annotations From: sebb To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 20/03/2009, Eric Bowman wrote: > sebb wrote: > > > On 20/03/2009, Paul Benedict wrote: > > > > > > > The Maven folks verified that putting a dependency in > > > provided will not create a runtime dependency. This > > > should equal a compile-only scope. > > > > > > > > > > The problem with that is that the developer has to provide the > > annotation jar in order to run the compile. This is an extra stage. > > I'm not sure what it involves. > > > > If we can find a method to automate the provision process within the > > Maven build, then that would work. Otherwise, we are just making it > > awkward for developers. > > > > > > > > This seems like a missing piece in maven. There should be a scope that > covers exactly this case, like "compileNotRuntime" or something like that. > My bad, sorry. The scope "provided" is what is required. I misunderstood the documentation to mean that the user had to provide the jar at compile-time, however it only requires the user to provide the jar at run-time. "provided" does cause Maven to check the repository at compile-time, which should solve the Maven issues raised in the thread. I have now tried it (after I deleted jar from repo) and it all worked well. Sorry for the noise. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org