Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 92086 invoked from network); 18 Jan 2006 16:28:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jan 2006 16:28:45 -0000 Received: (qmail 50501 invoked by uid 500); 18 Jan 2006 16:28:16 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 50437 invoked by uid 500); 18 Jan 2006 16:28:16 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 50333 invoked by uid 99); 18 Jan 2006 16:28:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2006 08:28:15 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of oliveros@cpqd.com.br designates 200.231.0.43 as permitted sender) Received: from [200.231.0.43] (HELO duque.cpqd.com.br) (200.231.0.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2006 08:28:12 -0800 Received: from elfo.cpqd.com.br (elfo.cpqd.com.br [10.202.128.132]) by duque.cpqd.com.br (8.11.6p2/8.11.6) with ESMTP id k0IGRhn27860 for ; Wed, 18 Jan 2006 14:27:43 -0200 Received: from elfo.cpqd.com.br (localhost.localdomain [127.0.0.1]) by localhost.cpqd.com.br (Postfix) with ESMTP id 25C1213F2D for ; Wed, 18 Jan 2006 14:27:45 -0200 (EDT) Received: from MAILSRV1.aquarius.cpqd.com.br (gandalf.cpqd.com.br [10.202.128.110]) by elfo.cpqd.com.br (Postfix) with ESMTP id 197B313EFE for ; Wed, 18 Jan 2006 14:27:45 -0200 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Ear file doesnt contain war and jar Date: Wed, 18 Jan 2006 14:27:42 -0200 Message-ID: <6FAF2DB6A5F5764BBB9A55A7EC9B4E5DCEF4E7@MAILSRV1.aquarius.cpqd.com.br> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ear file doesnt contain war and jar Thread-Index: AcYcSZ2Fb9dKEreuSq+s9ed5zqM/hwAAVLKw From: =?iso-8859-1?Q?D=E1rio_Lu=EDs_Coneglian_Oliveros?= To: "Maven Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Karthik, I have an EAR project using M2 that does something similar, but it works = for me though. All the artifacts as added into the final EAR. I can=B4t think of a reason why yours is not working, since it=B4s quite = similar to mine. You may check if the super pom already define some of the dependencies = and that may be causing the problem. It=B4s just a guess. my pom.xml ---------- whatever root-project 1.0-SNAPSHOT 4.0.0 whatever ear-project 1.0-SNAPSHOT ear whatever java-project 1.0-SNAPSHOT jar whatever ejb-project 1.0-SNAPSHOT ejb whatever web-project 1.0-SNAPSHOT war org.apache.maven.plugins maven-ear-plugin Regards, D=E1rio -----Original Message----- From: Karthik V [mailto:karthikveeramani@gmail.com] Sent: quarta-feira, 18 de janeiro de 2006 14:09 To: Maven Users List Subject: Re: Ear file doesnt contain war and jar Hi Henry, Below is my ear projects pom ... I've *** ed the proprietary stuff ... = I'm trying to include abc-bean.jar, abc-war.war and commons-collection.jar = into the ear file (in the directory i need) ... Note that, I tried the section (now commented) but it didnt work ... 4.0.0 *** 1.0 abc-ear ABC Ear ear *** 1.0 *** *** 1.0 abc-bean jar *** 1.0 abc-war war commons-collections commons-collections 2.1.1 jar org.apache.maven.plugins maven-ear-plugin ${basedir}/src/main/resources/META-INF/application.xml ${basedir}/src/main/resources On 1/17/06, Henry Isidro wrote: > > Hi Karthik V, > > The tag for dependencies are no longer suppported. Can = you > post your pom so that we can see what you are actually doing? > > Regards, > Henry > > Karthik V wrote: > > > looks like things have changed :( ... the tag is not = being > > recognized. > > > > > > On 1/17/06, Max Cooper wrote: > > > >>Note: this is for Maven 1 (1.0.2, 1.1-beta-2, I don't know if = anything > >>has changed for Maven 2) > >> > >>In the ear project where you specify the dependencies, you specify > >>properties to tell the ear plugin what to do with your jars and = wars. > >>Here's an example: > >> > >> > >> > >> myproject > >> ejb > >> ${pom.currentVersion} > >> ejb > >> > >> true > >> > >> > >> > >> > >> myproject > >> web > >> ${pom.currentVersion} > >> war > >> > >> true > >> / > >> > >> > >> > >> > >> myproject > >> util > >> ${pom.currentVersion} > >> jar > >> > >> true > >> > >> > >> > >>This is all described at the bottom of this page: > = >>http://maven.apache.org/maven-1.x/reference/plugins/ear/properties.html= > >> > >>Note that the ear.bundle.dir property will allow you to control the > >>directory (inside the ear file) where the dependency ends up. > >> > >>-Max > >> > >>On Tue, 2006-01-17 at 13:18 -0500, Karthik V wrote: > >> > >>>when someone answers this question, please give a general answer to > this > >>>question - how do I copy a jar file specified as dependency into = the > >> > >>final > >> > >>>artifact, inside the folder I want? > >>> > >>> > >>>On 1/17/06, Karthik V wrote: > >>> > >>>>I have an ear project that needs to pack 2 other projects = artifacts > >> > >>(jar > >> > >>>>and war). In the ear project pom, I've added dependencies on both. > >> > >>However, > >> > >>>>the ear file produced doesnt contain these. How do I fix this = problem? > >> > >> > = >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > >>For additional commands, e-mail: users-help@maven.apache.org > >> > >> > > > > > > > > = ------------------------------------------------------------------------ > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.371 / Virus Database: 267.14.19/231 - Release Date: > 1/16/2006 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org