But it is available in central. http://repository.sonatype.org/index.html#nexus-search;gav~~junit~4.8.1~~
we have been using it for at least a week now. Raphael On Wed, Apr 28, 2010 at 09:59, Dirk Olmes <d...@xanthippe.ping.de> wrote: > 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? > > No, it's just that JUnit 4.8.1 isn't available in the central repo (for > now). > > -dirk > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org