The usual way of doing this is to package the EJB jar together with its dependencies in an EAR file. In a JEE5 environment the deps can either go in a "lib" directory in the EAR or (and for J2EE 1.3/4) be at the root of the EAR and a manifest classpath entry added to the EJB jar. This stuff can all be managed with the maven EJB/EAR plugins.

Is there any particular reason that you don't want to do it this way?

Steve C

On 11/07/2008, at 9:54 PM, Drinkwater, GJ (Glen) wrote:

Hi

I am using maven2 to package a EJB3 jar and I was wondering how I
package the dependencies into the EJB3 jar file? Looks like you can do it with maven 1 with ejb.bundle but I cannot find any documentation for
maven 2?

Thanks Glen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to