Exclude the ejb jar of an ear from the earlib dependencies


(Lars Gehrken) #1

How can I exclude the jars added by the deploy dependency configuration from the earlib configuration, when using the ear plugin.

I have the problem that some of the ejb.jars are in the dependencies of my earlib jars. Because of this they are added twice first as ejb in the root and in second to the lib/ as a library.