ear file to include jar and war
Hi all, I used the ear plug-in to generate the ear file, but it does not include the ear and war file by default. IT just holds the META-INF and application.xml file. I want the ear file to include the generated jar and war files, how should I do this? Thanks for your help in advance, Jayaram Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email.
Re: ear file to include jar and war
I think your ear's project.xml is missing the ear.bundle properties in dependencies listing of your ear project. some thing like this ${pom.groupId} bookstore-common ${pom.currentVersion} true ${pom.groupId} bookstore-ejb ${pom.currentVersion} ejb true true ${pom.groupId} bookstore-webapp ${pom.currentVersion} war true bookstore Check out ear plugin for more detail. -D On Sat, 26 Mar 2005 17:31:08 +0530, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote: > Hi all, > > I used the ear plug-in to generate the ear file, but it does not include > the ear and war file by default. IT just holds the META-INF and > application.xml file. > > I want the ear file to include the generated jar and war files, how > should I do this? > > Thanks for your help in advance, > > Jayaram > > Confidentiality Statement: > > This message is intended only for the individual or entity to which it is > addressed. It may contain privileged, confidential information which is > exempt from disclosure under applicable laws. If you are not the intended > recipient, please note that you are strictly prohibited from disseminating or > distributing this information (other than to the intended recipient) or > copying this information. If you have received this communication in error, > please notify us immediately by return email. > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ear file to include jar and war
Hi Dan Tran, Thanks for your suggestions, If I follow your suggestion, I need to put the Jar and war files manually in the C:\Documents and Settings\Username\.maven\repository folder. I do not want this jar & war files to be manually placed. I want these files to be included in the ear file without this manual dropping. Is there a way to do this? Expecting your guidance on this. Thanks in advance, Jayaram -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Saturday, March 26, 2005 11:48 PM To: Maven Users List Subject: Re: ear file to include jar and war I think your ear's project.xml is missing the ear.bundle properties in dependencies listing of your ear project. some thing like this ${pom.groupId} bookstore-common ${pom.currentVersion} true ${pom.groupId} bookstore-ejb ${pom.currentVersion} ejb true true ${pom.groupId} bookstore-webapp ${pom.currentVersion} war true bookstore Check out ear plugin for more detail. -D On Sat, 26 Mar 2005 17:31:08 +0530, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote: > Hi all, > > I used the ear plug-in to generate the ear file, but it does not include > the ear and war file by default. IT just holds the META-INF and > application.xml file. > > I want the ear file to include the generated jar and war files, how > should I do this? > > Thanks for your help in advance, > > Jayaram > > Confidentiality Statement: > > This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ear file to include jar and war
On Mon, 28 Mar 2005 12:10:13 +0530, GOKULAM Jayaram <[EMAIL PROTECTED]> wrote: > Thanks for your suggestions, If I follow your suggestion, I need to put > the Jar and war files manually in the > C:\Documents and Settings\Username\.maven\repository folder. It's your local mavven repository. > I do not want this jar & war files to be manually placed. > I want these files to be included in the ear file without this manual > dropping. > Is there a way to do this? Yes, if you have a project for your web application, the war:install goal will build the war file and copy it in the local repository. For a simple jar the goal is jar:install and for an ejb module it is ejb:install. You can make all these operations with one maven call using the multiproject plugin. Read this : http://maven.apache.org/using/multiproject.html -- Thomas Recloux - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]