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

Reply via email to