On 28 November 2016 at 10:41, sebb <seb...@gmail.com> wrote:
> On 27 November 2016 at 22:31, Gary Gregory <garydgreg...@gmail.com> wrote:
>> It is _because_ they are NOT built-in the language or JRE that we are
>> proposing they belong in [lang].
>>
>> Since we are providing the annotation with CLASS retention only
>> (initially), there is no hard dependency on [lang] at runtime.
>>
>> Is there some subtlety we are missing?
>
> Yes, the compile-time dependency.
>
> AFAIK it's not possible to have a Maven compile-only dependency;
> compile-time implies run-time.

I have a recollection of having used the "optional" dependency feature
for compile time annotations in the past:

https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to