Douglas Ferguson 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-
> 
> 
> 
> 

Good day to you, Douglas,

You can try and add the paths (relative paths), of those jars that you don't
want to get included to your warDependencyExcludes (comma separated). For
more info, please see [1] "Configuring the war-overlay" section. However,
[1] is not yet released. But please feel free to let us know what you think
so that we can improve it. 

Thanks,
Franz

[1]
http://people.apache.org/~vsiveton/maven-war-plugin/examples/war-overlay.html
-- 
View this message in context: 
http://www.nabble.com/War%3A-Exclude-A-Transitive-Dependency-tf2340250.html#a6519812
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to