Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 70362 invoked from network); 7 Oct 2009 14:39:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Oct 2009 14:39:32 -0000 Received: (qmail 57844 invoked by uid 500); 7 Oct 2009 14:39:30 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 57742 invoked by uid 500); 7 Oct 2009 14:39:29 -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 57732 invoked by uid 99); 7 Oct 2009 14:39:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 14:39:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cbredesen@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 14:39:20 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n97EcwWx011190 for ; Wed, 7 Oct 2009 10:38:58 -0400 Received: from [10.11.11.229] (vpn-11-229.rdu.redhat.com [10.11.11.229]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n97EcwJY012014 for ; Wed, 7 Oct 2009 10:38:58 -0400 Message-ID: <4ACCA897.40405@redhat.com> Date: Wed, 07 Oct 2009 10:41:27 -0400 From: Chris Bredesen User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: Unit test project depending on WAR project code References: <4ACC9FB5.80405@redhat.com> <200910071613.38285.Roland.Asmann@cfc.at> In-Reply-To: <200910071613.38285.Roland.Asmann@cfc.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-Virus-Checked: Checked by ClamAV on apache.org Why stop there? I'll just not write ANY code. Stress-free life! :) :) On 10/07/2009 10:13 AM, Roland Asmann wrote: > Personally, I don't put ANY code in the WAR. That will definitely solve your > problem! :-) > > > On Wednesday 07 October 2009 16:03, Chris Bredesen wrote: >> All, >> >> I have split my unit tests out into a separate project which will >> eventually become a module (not there yet). I've got it mostly sorted >> but I'm getting compile errors on classes that are part of the main >> project which uses war packaging. >> >> Maven doesn't seem to add the WAR's code into the test module's test >> classpath correctly. Is this a known issue? Any idea how to get around >> it? Maven is definitely finding the artifact in my repository; it's >> just not contributing the WAR's code (I think). >> >> Any help is appreciated. >> >> -Chris >> >> --------------------------------------------------------------------- >> 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