Provided dependencies typically mean that the dependency is copied
into another dependency (think Java EE APIs typically) and doesn't
need to be added by a runtime dependency. It's kind of the opposite of
the runtime scope which doesn't add it at compile time but does at
runtime.

On Thu, 4 Feb 2021 at 17:46, sebb <seb...@gmail.com> wrote:
>
> On Thu, 4 Feb 2021 at 20:28, Jochen Wiedmann <joc...@apache.org> wrote:
> >
> >
> >
> > On 2021/02/02 11:34:09, sebb <seb...@gmail.com> wrote:
> >
> > > In which case it should surely be listed as a compile dependency so
> > > that it is picked up automatically?
> >
> > It is also picked up automatically with scope=provided.
>
> Useful to know; the Maven documentation is not explicit on that.
> The name makes it sound as though the user has to provide the jar themselves.
>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

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

Reply via email to