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

Reply via email to