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]
