maven: (use -source 5 or higher to enable static import declarations)

Posted by coubeatczech on Stack Overflow See other posts from Stack Overflow or by coubeatczech
Published on 2010-03-15T23:48:22Z Indexed on 2010/03/15 23:49 UTC
Read the original article Hit count: 197

Filed under:

How can I use source 5? I tried

mvn -source 5 test

but it didn't work :-)

When I compile the file by javac, everything works.

© Stack Overflow or respective owner

Related posts about maven-2