Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 51512 invoked from network); 12 May 2006 04:42:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 May 2006 04:42:11 -0000 Received: (qmail 42482 invoked by uid 500); 12 May 2006 04:42:04 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 42432 invoked by uid 500); 12 May 2006 04:42:04 -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 42415 invoked by uid 99); 12 May 2006 04:42:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 21:42:03 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.190.145.10] (HELO kndvir01.barco.com) (212.190.145.10) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 11 May 2006 21:42:02 -0700 Received: From ke1mex01.barco.com ([150.158.212.41]) by kndvir01.barco.com (WebShield SMTP v4.5 MR2); id 1147408899699; Fri, 12 May 2006 06:41:39 +0200 Received: by ke1mex01.barco.com with Internet Mail Service (5.5.2657.72) id ; Fri, 12 May 2006 06:41:39 +0200 Message-ID: From: "Sharma, Jaikumar" To: Maven Users List Subject: RE: [M2] : NullPointerException with JUnit 4.0 Date: Fri, 12 May 2006 06:41:31 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6757E.58A7532D" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6757E.58A7532D Content-Type: text/plain; charset="iso-8859-1" Hi Vinod, Thanks for your reply. Please find the stacktrace below. Info : If I comment-out Junit 4.0 dependency in the pom.xml then there is no problems, it compiles the sources. Regards, Jaikumar [INFO] ---------------------------------------------------------------------- [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginMana ger.java:292) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(Defau ltPluginManager.java:198) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:163) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1252) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycl e(DefaultLifecycleExecutor.java:1216) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa ppings(DefaultLifecycleExecutor.java:982) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Fri May 12 10:05:45 GMT+05:30 2006 [INFO] Final Memory: 3M/6M [INFO] ------------------------------------------------------------------------ -----Original Message----- From: Vinod Panicker [mailto:vinod.p@gmail.com] Sent: Thursday, May 11, 2006 9:25 PM To: Maven Users List Subject: Re: [M2] : NullPointerException with JUnit 4.0 On 5/11/06, Sharma, Jaikumar wrote: > Does anybody used JUnit 4.0 with maven 2 successfully ? > > I am getting NullPonterException with JUnit 4.0, when trying to > compile test cases and test sources! > > I would appreciate any pointers! Can you post the stack trace you are getting? Would be able to help you better then. Regards, Vinod. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liablility for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. ------_=_NextPart_001_01C6757E.58A7532D--