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>
      <artifactId>bookstore-common</artifactId>
      <version>${pom.currentVersion}</version>
      <properties>
         <ear.bundle>true</ear.bundle>
      </properties>

    </dependency>

    <dependency>
      <groupId>${pom.groupId}</groupId>
      <artifactId>bookstore-ejb</artifactId>
      <version>${pom.currentVersion}</version>
      <type>ejb</type>
      <properties>
         <ear.bundle>true</ear.bundle>
         <ear.module>true</ear.module>
      </properties>
    </dependency>


    <dependency>
      <groupId>${pom.groupId}</groupId>
      <artifactId>bookstore-webapp</artifactId>
      <version>${pom.currentVersion}</version>
      <type>war</type>
      <properties>
        <ear.bundle>true</ear.bundle>
 
<ear.appxml.war.context-root>bookstore</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]

Reply via email to