This looks perfect! I can leave my ejb jars intact and externalise the deployment config. Thanks for your help!
-----Original Message----- From: David Jencks [mailto:[EMAIL PROTECTED] Sent: 30 July 2005 08:39 To: Maven Users List Subject: Re: Maven, EJBs and clashing JNDI names Can't you do something with an alt-dd specified in the application.xml? I'm not familiar with what jboss is doing now with vendor plans, but if they aren't required to be in the ejb-jar they would also not collide. Alternatively if you wish to live very dangerously :-) you could use geronimo which does not have a name collision problem between applications. david jencks On Jul 29, 2005, at 4:28 AM, Lloyd Davies wrote: > Hi all, > > > > I hope I have correctly registered myself on this mailing list. > > > > My company have recently migrated their java projects from Ant to > Maven. > It's has all gone pretty smoothly until now. > > > > We have a number of components, including ears, ejb-jars, jars etc. 2 > of my > ears contain the same ejb jar file. I would like to deploy both of > these > ears to the same instance of JBoss but I can't because the jndi names > for > the EJBs inside the common ejb-jar files are the same and therefore > clash on > deployment. > > > > Can anyone tell me how I can handle this without breaking Maven's best > practices and making the 2 copies of the ejb-jar file different? > > > > Many thanks, > > Lloyd. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]