I never used it but it seems to be a missing feature in the war plugin.
Can you open an issue. We'll fix it ASAP.
The behavior of the ejb plugin was certainly changed recently and the war 
plugin wasn't updated.
We should add the support for types : ejb and ejb-client (generated if 
maven.ejb.client.generate=true) in the war plugin.
WDYT ?

Arnaud

On 9/20/05, jan_bar <[EMAIL PROTECTED]> wrote:
> 
> No answers so far, but this seems to be basic question for J2EE 
> development
> with maven. Maybe I was not clear enough.
> 
> The client code generated for EJB must be included in WAR file. I don't 
> know
> how to do this with maven 1.1 beta 2 because war plugin copies only 
> type=jar
> dependencies and EJB client code is type=ejb. Is this bug or I got 
> something
> wrong?
> 
> Jan
> 
> "jan_bar" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi,
> >
> > ejb plugin places the EJB client code in repository in ejbs/<my
> client>.jar.
> > However the war plugin uses only type=jar dependencies:
> >
> > (maven-war-plugin-1.6.1/plugin.jelly, line 149)
> >
> > <j:if test="${dep.type =='jar'}">
> > <ant:copy todir="${webapp.build.lib}" file="${lib.path}"/>
> > </j:if>
> >
> > Seems like bug. How can I add my EJB client jar to WAR?
> >
> > Thanks, Jan
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to