On 2021/02/01 16:45:46, Tomo Suzuki <suzt...@google.com.INVALID> wrote: > I like "javax.annotation namespace" too. > > Would you be willing to share more about why the annotation dependency > should have "provided" scope? If a library (commons-lang) requires a > dependency at runtime, I believe it should declare it as "compile" > dependency. In past, I did troubleshooting for > missing javax.annotation.Nullable > https://issues.apache.org/jira/projects/BEAM/issues/BEAM-8917 Simple reason: Upwards compatibility. So far, using commons-lang was possible without any other dependencies. With scope "compile", we could not guarantee, that this remains the same. As a consequence, the next version of commons-lang would not be a drop-in replacement for it's predecessor. To update, one would need to add the jsr305 jar as well. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org
- Re: [lang] Introduce @NonNull, and @Nullable sebb
- Re: [lang] Introduce @NonNull, and @Nulla... Gary Gregory
- Re: [lang] Introduce @NonNull, and @... sebb
- Re: [lang] Introduce @NonNull, a... Matt Sicker
- AW: [lang] Introduce @NonNull, a... BUnckel
- Re: [lang] Introduce @NonNull, and @... Jochen Wiedmann
- Re: [lang] Introduce @NonNull, a... sebb
- Re: [lang] Introduce @NonNull, a... Matt Sicker
- Re: [lang] Introduce @NonNull, and @Nullable Julian Reschke
- Re: [lang] Introduce @NonNull, and @Nullable Jochen Wiedmann
- Re: [lang] Introduce @NonNull, and @Nullable Jochen Wiedmann
- Re: [lang] Introduce @NonNull, and @Nullable Thomas
- Re: [lang] Introduce @NonNull, and @Nullable simon
- Re: [lang] Introduce @NonNull, and @Nullable Gary Gregory
- Re: [lang] Introduce @NonNull, and @Nullable thc202
- Aw: Re: [lang] Introduce @NonNull, and @Nulla... Thomas Schapitz
- Re: Re: [lang] Introduce @NonNull, and @N... Gary Gregory
- Re: [lang] Introduce @NonNull, and @... Thomas Schapitz
- Re: [lang] Introduce @NonNull, a... Gary Gregory
- Aw: Re: [lang] Introduce @NonNul... Thomas Schapitz
- Re: Re: [lang] Introduce @NonNul... Gary Gregory