Please forgive me if this question has been asked a million times already
but I didn't see it in the FAQ and this is my first post so here goes...

 

When I enter "mvn package" in the root directory of my project, I get a
Compilation failure with the following error message (apparently from javac
itself):

 

            annotations are not supported in -source 1.3

 

It appears that maven is passing "-source 1.3" to javac because I'm using a
Java SE 1.5 SDK so annotations support would be the default. 

 

How do I change the default source version?

 

Jack C. Holt

Senior Web Software Engineer

 

Reply via email to