You can use an exclude on the dependency which is bringing in the j2ee jar instead, assuming you know which dep to attach the exclusion to.
Otherwise the provided approach is probably best/easiest. Wayne On 9/26/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote:
I have a project that generates a war file, the j2ee jar is inheritented as a transitive dependency, however if the j2ee jar is included, then tomcat prints a warning but websphere refuses to deploy. Is there anyway to tell the war plugin not to include this lib? I know I could mark the dependency as provided but I thought I would see if there is a more elegant way to do this without having to specify a version that I could obtain transitively. D-
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
