The assembly plugin can be used to put some of the jars in lib and others in the root directory of your ear.
Wayne On 7/26/07, Vaidya, Supriya A (US - Chicago) <[EMAIL PROTECTED]> wrote: > Hi: > > I am working with multiple modules - > > An EJB > contained in a WAR > contained in a EAR > > There are some libraries that are shared between the EJB and the WAR. In > reading up on skinny WARs, I was able to find that a way to include the > lib directory in teh EAR only, so that they are shared between the EJB > and the WAR, without having to repeating the jars in each package. This > is great! > > Now, I also have a bunch of POJO files that I have written, shared > between the EJB and the WAR. I was thinking of creating a structure: > > A POJO > referenced by an EJB > Contained in a WAR > Contained in an EAR > > The parent POM will therefore have 4 modules - POJO, EJB, WAR and EAR. > However, the created EAR now contains a JAR, an EJB JAR and a WAR, all > in teh root, and a lib directory containing all the other JAR files. Is > there a way that I can include this POJO jar in teh lib directory of teh > EAR instead? using the same maven install command? > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. If > you are not the intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
