[ 
http://jira.codehaus.org/browse/MWAR-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=154420#action_154420
 ] 

Joerg Schaible commented on MWAR-107:
-------------------------------------

The EJB as well as the EJB-client provide the same transitive dependencies. 
While it is normal that the client is actually *not* dependent on all, there's 
no automated way for Maven to determine which deps are not necessary for the 
client nor is there a way to specify this in a separate way. It is your task to 
exclude them with exclusions in the war POM.

> CLONE -Dependency type "ejb-client" includes main ejb-jar in WAR build.
> -----------------------------------------------------------------------
>
>                 Key: MWAR-107
>                 URL: http://jira.codehaus.org/browse/MWAR-107
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>         Environment: Windows XP SP2, J2SE 5.0
>            Reporter: Heinrich Nirschl
>            Assignee: Brett Porter
>
> When I specify a dependency as type "ejb-client" for a project whose 
> packaging is set to "war", the build includes the main EJB JAR in the 
> WEB-INF/lib directory, not the EJB client JAR.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to