It's not enough to do that - if you say it is "provided", it is removed
from the MANIFEST.MF file. So this means that the war file won't look
outside of itself (or at least in this file) to resolve the classes.


Regards,

Ian

>AFAIK it's enough to specify <scope>provided</scope> to the
> corresponding dependencies in your pom.xml

>> How do I exclude "transitive" dependencies (dependencies on
>> dependencies)
>>> from my jar files? I want to exclude stuff like "servet-api" and
>> "jta"
>> because my container provided these things.  I can't exclude the
>> "primary"
>> dependency, as it is needed (my dependency is on hibernate in this
>> example).




Disclaimer: The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from your computer.
Privacy: If you are responding to this email or providing personal
information to the SRO for the purposes of one of the Acts it administers,
such information is used only for the purpose for which it was collected
( administration of SRO legislation ) and is protected by the Information
Privacy Act 2000 and secrecy provisions contained in legislation
administered by SRO. It is not disclosed otherwise than in accordance with
the law. If you would like a copy of the SRO Privacy Policy please refer to
SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
copy.


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

Reply via email to