> I've got ear multiproject that contain several web and ejb modules. Those
> ejbs and wars have dependency on jar with application logic. Of course,
> application logic has huge number of other 3th party dependencies. When
> I'm building ear, all wars archives contain their own dependencies
> (including contain application logic and all 3th party dependencies). Ear
> archive contain all ejbs dependencies (also including  application logic
> and all 3th party dependencies).
> 
> In result, I have application logic and all 3th party dependencies in each
> war and also in ear. This includes all configuration files of application
> logic. So if I want to change single property I must change it in every
> application logic jar in each war and ear.
> 
> What I want to achieve? I want all dependencies from wars in ear bundle,
> not in WEB-INF/lib.
> 
> I tried to exclude all jars in WEB-INF/lib using exclude tag in war
> configuration. It works - directory WEB-INF/lib is empty, but it didn't
> solve the problem, since those excluded jars weren't added to ear.
> 
> Do you know any solution for the problem?
> 
> best regards,


I believe that the problem is connected to issue "Ability to disable transitive 
dependency in a bundle artifact" (MNG-818). This issue have been fixed and 
transitive dependencies of bundle artifacts are disabled by default.  Is there 
a way to enable them?

best regards,
--
Michal Stochmialek
IT Department, Technology Division
Euro Bank S.A.


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

Reply via email to