commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [LANG] 3.0 JCIP Annotations
Date Fri, 20 Mar 2009 15:11:37 GMT
On 20/03/2009, James Carman <james@carmanconsulting.com> wrote:
> On Fri, Mar 20, 2009 at 10:31 AM, sebb <sebbaz@gmail.com> wrote:
>  > 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.
>  >
>
>
> What's wrong with just marking it as optional?

See post from Niall - it causes problems with OSGI bundles.

If anything, I see that as an abuse of optional, because it's not optional.

> This is an abuse of  the "provided" scope, IMHO.

Why?

>
>  ---------------------------------------------------------------------
>  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


Mime
View raw message