I have added the junit dependency and the junit.jar has been downloaded to my local repository. I don't think I need to add local repository on classpath. Maven can handle with it.
mgainty wrote: > > make sure junit.jar is on the classpath before you run mvn pom.xml.. > > M- > ----- Original Message ----- > Wrom: WLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBI > To: <[email protected]> > Sent: Friday, February 29, 2008 9:21 PM > Subject: Counldn't find junit package > > >> >> I have added the junit dependence in pom.xml file as follows: >> >> <dependency> >> <groupId>junit</groupId> >> <artifactId>junit</artifactId> >> <version>3.8.1</version> >> <scope>test</scope> >> </dependency> >> >> When I run "mvn test" to run my junit test, I always get the error > "package >> org.junit does not exist". >> -- >> View this message in context: > http://www.nabble.com/Counldn%27t-find-junit-package-tp15769349s177p15769349 > html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Counldn%27t-find-junit-package-tp15769349s177p15773096.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
