hello guys,
a little problem with maven and JUnit test.
i use JUnit 4.1 and a jdk 1.6.0_03 under linux (ubuntu)
my JAVA_HOME is correctly set and MAVEN_HOME too !
i wrote test classes with static import, annotations and generics.
when i run maven in a terminal
mvn test-compile
i've got the following output:
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/<my_project>/src/test/java/TestParser.java:[7,7] static import
declarations are not supported in -source 1.3
(use -source 5 or higher to enable static import declarations)
import static org.junit.Assert.*;
/<my_project>/src/test/java/TestParser.java:[24,2] annotations are not
supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Test
etc...
what am i doing wrong?
regards
supareno
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]