On 19/03/2009, Dev at weitling <d...@weitling.net> wrote:
>
>
>  sebb wrote:
>  > On 19/03/2009, Stephen Connolly <stephen.alan.conno...@gmail.com> wrote:
>
> >>  > > scope provided will do what you need afaik
>  >>  > >
>  >>  >
>  >>  > Yes, but then AFAIK the user has to download and install the jar
>  >>  > separately, which is a pain.
>  >>  >
>  >>
>  >>
>  >> Nope....
>  >>
>  >
>  > I think you meant "Yep..." as you seem to be agreeing with me.
>  >
>  >
>  >>  provided just says that somebody will provide it for you and that maven 
> does
>  >>  not need to worry about it.
>  >>
>  >
>  > Yes, I know.
>  >
>  > Maven maybe does not have to worry about it, but the user does, which
>  > is what I want to avoid.
>  >
>  > AIUI "provided" is mainly intended for jars that are not available via
>  > the repository, e.g. they may be commercial jars that have to be paid
>  > for separately.
>  >
>
>
> A common examples are servlets: You compile them using the Servlet-API,
>  the runtime jars are provided by the Servlet-container (Tomcat, Jetty...).
>  So your dependency is on Servlet-API wth <scope>provided</scope>.
>
>  Regarding an older post from you: It is (afaik) not possible to load and
>  instantiate a class when its parent classes/interfaces are not
>  loaded/loadable (i.e. on the classpath).

Not my post.

>  Can you deploy your product to the user via Maven?

Not applicable.

>  Regards,
>  Florian
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>  For additional commands, e-mail: users-h...@maven.apache.org
>
>

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

Reply via email to