You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2021/02/02 20:53:00 UTC

[jira] [Assigned] (MEJB-33) Add support for fewer dependencies in client-jars

     [ https://issues.apache.org/jira/browse/MEJB-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylwester Lachiewicz reassigned MEJB-33:
----------------------------------------

    Assignee:     (was: Karl Heinz Marbaise)

> Add support for fewer dependencies in client-jars
> -------------------------------------------------
>
>                 Key: MEJB-33
>                 URL: https://issues.apache.org/jira/browse/MEJB-33
>             Project: Maven EJB Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.1
>            Reporter: tinne
>            Priority: Major
>             Fix For: more-investigation
>
>         Attachments: ejb-client-packaging-problem-2014.zip, ejb-client-packaging-problem.zip, make-client-separate.patch
>
>
> Given a scenario, where several application tiers are installed on different servers, are realized as EJB3 applications, and packaged using maven.
> When configuring an ejb module, I give dependencies to all dependency jars that are used to implement the features. However, they are currently all added as dependency to the client-jar artifacts as well, so that unused libraries are deployed on client servers.
> I'd like to mark dependencies as server-jar only, e.g. by an clientJarExclusions configuration element to the plugin, which takes a set of exclusion elements like the exclusions-element in a dependency. These dependencies should behave as compile-scope in the server- and provided-scope in the client-jars. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)