maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <>
Subject [jira] Commented: (MWAR-107) CLONE -Dependency type "ejb-client" includes main ejb-jar in WAR build.
Date Mon, 17 Nov 2008 10:56:41 GMT


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:
>             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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message