Le Wed, 28 Apr 2010 09:59:05 +0200, Dirk Olmes <d...@xanthippe.ping.de> a écrit :
> On 04/28/2010 08:46 AM, ykyuen wrote: > > > > i try to use junit 4.8.1 in my maven project by adding the following > > dependency in the pom.xml > > <dependency> > > <groupId>junit</groupId> > > <artifactId>junit</artifactId> > > <version>4.8.1</version> > > <scope>test</scope> > > </dependency> > > > > when i try to write the test case, the org.junit cannot be resolved(i.e. > > error at "import org.junit.Assert"). but if i change the junit version to > > 4.7. no problem at all. > > > > did i do anything wrong? When you have this error, is it in a IDEA ? or when you launch a maven build ? > > No, it's just that JUnit 4.8.1 isn't available in the central repo (for > now). I can see it on central here : http://repo1.maven.org/maven2/junit/junit/4.8.1/ > > -dirk > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > -- Tony Chemit -------------------- tél: +33 (0) 2 40 50 29 28 email: che...@codelutin.com http://www.codelutin.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org