Re: ear file to include jar and war

2005-03-28 Thread Thomas Recloux
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]



RE: ear file to include jar and war

2005-03-27 Thread GOKULAM Jayaram
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]



Re: ear file to include jar and war

2005-03-26 Thread dan tran
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]