You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrick Huber (JIRA)" <ji...@codehaus.org> on 2008/11/17 10:57:41 UTC

[jira] Commented: (MWAR-107) CLONE -Dependency type "ejb-client" includes main ejb-jar in WAR build.

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

Patrick Huber commented on MWAR-107:
------------------------------------

Linux, Java 1.5, Maven 2.0.9
I don't get this behaviour, however I have all the EJBs dependencies inside the WAR (the war's pom only references <type>ejb-client</type>).
Current example in my case: there is 1 ejb in that uses ehcache. The war references the ejb-client only yet ehcache still ends up in the war... I believe this isn't the correct behaviour...

> 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