Re: Excluding transitive dependencies from jars/wars/ears

2007-06-06 Thread Ian Rowlands
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 provided to the > corresponding depe

Re: Excluding transitive dependencies from jars/wars/ears

2007-06-05 Thread Thorsten Heit
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

Excluding transitive dependencies from jars/wars/ears

2007-06-05 Thread Ian Rowlands
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)