On 1/24/07, Simon Kitching <[EMAIL PROTECTED]> wrote:

Well, actually, the dependency on servlet-api should probably be marked
both optional *and* provided, in that it is not needed in order to use
many JCL features, but if you do want to use the JCL "cleanup on webapp
unload" then the supporting jar is expected to be provided by the
surrounding environment. However as it's not possible to use both,
optional seems to more correctly describe the usage to me.

It should be possible to use both.  Optional is not a scope, it's a
separate element.  What happens with:

  <dependency>
     ...
     <scope>provided</scope>
     <optional>true</optional>
  </dependency>
?

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to