Hi,

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).

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


HTH

Thorsten

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to