http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

On 12/8/06, Holt, Jack C. <[EMAIL PROTECTED]> wrote:

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







--
I'm just an unfrozen caveman software developer.  I don't understand your
strange, "modern" ways.

Reply via email to