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
dependencies
dependency
groupId${pom.groupId}/groupId
artifactIdbookstore-common/artifactId
version${pom.currentVersion}/version
properties
ear.bundletrue/ear.bundle
/properties
/dependency
dependency
groupId${pom.groupId}/groupId
artifactIdbookstore-ejb/artifactId
version${pom.currentVersion}/version
typeejb/type
properties
ear.bundletrue/ear.bundle
ear.moduletrue/ear.module
/properties
/dependency
dependency
groupId${pom.groupId}/groupId
artifactIdbookstore-webapp/artifactId
version${pom.currentVersion}/version
typewar/type
properties
ear.bundletrue/ear.bundle
ear.appxml.war.context-rootbookstore/ear.appxml.war.context-root
/properties
/dependency
/dependencies
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]