Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 25702 invoked from network); 16 Aug 2009 20:44:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Aug 2009 20:44:13 -0000 Received: (qmail 67685 invoked by uid 500); 16 Aug 2009 20:44:17 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 67584 invoked by uid 500); 16 Aug 2009 20:44:17 -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 67572 invoked by uid 99); 16 Aug 2009 20:44:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Aug 2009 20:44:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.79.3.148] (HELO mail.potomacfusion.com) (67.79.3.148) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Aug 2009 20:44:04 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CA1EB2.3DE4B877" Subject: RE: Failure When Compiling Tests Date: Sun, 16 Aug 2009 15:41:23 -0500 Message-ID: <1FCB142B0D944B4585B02F8EF450FB0028550F@pfi-sbs.PFI.LOCAL> X-MS-Has-Attach: X-MS-TNEF-Correlator: <1FCB142B0D944B4585B02F8EF450FB0028550F@pfi-sbs.PFI.LOCAL> Thread-Topic: Failure When Compiling Tests Thread-Index: AcoemQZM9o8EmHNIRpG0iyYTWusS3wAGOUAj References: <1FCB142B0D944B4585B02F8EF450FB002854FB@pfi-sbs.PFI.LOCAL><4A808AD7.6050007@redhat.com><1FCB142B0D944B4585B02F8EF450FB002854FD@pfi-sbs.PFI.LOCAL><1FCB142B0D944B4585B02F8EF450FB0028550E@pfi-sbs.PFI.LOCAL> <56b1dfc30908161042s400dd2e3i4efd74a220d3458e@mail.gmail.com> From: "Neil Chaudhuri" To: "Maven Users List" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA1EB2.3DE4B877 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable That is actually all it took. Things ran fine. I knew it had to be = something trivial, so thanks for that. Now my goal is to figure out how to get IntelliJ to always run clean = before it runs test. Thanks again. -----Original Message----- From: mknutson@baselogic.com on behalf of Mick Knutson Sent: Sun 8/16/2009 12:42 PM To: Maven Users List Subject: Re: Failure When Compiling Tests =20 Can you run "mvn clean test -e" and post the trace please? --- Thank You. Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Sun, Aug 16, 2009 at 10:21 AM, Neil Chaudhuri < nchaudhuri@potomacfusion.com> wrote: > My application is laid out precisely according to the Maven layout > conventions. I can compile my source just fine and package it and > everything! However, when I run my tests from the command line with = mvn > test, I get a "cannot find symbol" error referencing one of my source > files--indeed, the class I actually want to test. I am sure this is > something silly, but is there anything special I have to do for Maven = to > look at target/classes in the classpath? > > Incidentally, when I run the test goal from within IntelliJ (rather = than > the command line as above), I don't get that "cannot find symbol" = error but > simply find this: > > [INFO] [compiler:testCompile {execution: default-testCompile}] > [INFO] Not compiling test sources > [INFO] [surefire:test {execution: default-test}] > [INFO] Tests are skipped. > [INFO] > = ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > = ------------------------------------------------------------------------ > > I imagine this result is for the same reason as the other, but are = there > any IntelliJ users out there who can also shed light on why the = reporting > would be different? > > Thanks. > ------_=_NextPart_001_01CA1EB2.3DE4B877 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org ------_=_NextPart_001_01CA1EB2.3DE4B877--