Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 3596 invoked from network); 4 Apr 2007 09:38:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 09:38:01 -0000 Received: (qmail 43708 invoked by uid 500); 4 Apr 2007 09:37:59 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 43661 invoked by uid 500); 4 Apr 2007 09:37:59 -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 43650 invoked by uid 99); 4 Apr 2007 09:37:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 02:37:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [134.98.65.18] (HELO gateway.elsag.de) (134.98.65.18) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 02:37:49 -0700 Received: from vwall.elsag.de by gateway.elsag.de via smtpd (for herse.apache.org [140.211.11.133]) with ESMTP; Wed, 4 Apr 2007 11:37:27 +0200 Received: from esmail ([192.168.2.88]) by vwall-vs.elsag.de with InterScan Messaging Security Suite; Wed, 04 Apr 2007 11:37:27 +0200 Received: from esmail by esmail via smtpd (for vwall.elsag.de [192.168.100.108]) with ESMTP; Wed, 4 Apr 2007 11:37:26 +0200 content-class: urn:content-classes:message Subject: RE: to include test jar dependencies not working MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 4 Apr 2007 11:37:26 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: to include test jar dependencies not working Thread-Index: Acd2mL843Dl4E7I2QUeVgGF/2lYv2QAA/fdg From: =?iso-8859-1?Q?J=F6rg_Schaible?= To: "Maven Users List" X-Virus-Checked: Checked by ClamAV on apache.org Hi Raju, use type "test-jar" and omit the classifier here. - J=F6rg raju wrote on Wednesday, April 04, 2007 11:08 AM: > Hi, >=20 > I have to include 2 jars say xyz-1.0-SNAPSHOTS.jar and > xyz-1.0-SNAPSHOTS-tests.jar as dependencies while building a war. > As both are installed with the same groupid and artifact id in the > local-repositorys as part of build that builds them,say: > com.example xyz >=20 > Now if i use the following as dependencies while building my > war only the > test jar gets included in web-inf/lib with the name > xyz-1.0-SNAPSHOTS.jar and the orgininal non test jar > xyz-1.0-SNAPSHOTS.jar gets ignored : > com.example xyz > 1.0-SNAPSHOT > runtime > > > com.example > xyz > 1.0-SNAPSHOT > tests > runtime > >=20 > Regards > Raju --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org