[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    compile error
From:       "Rasconi Luca \(u.e.\)" <Luca.Rasconi () guest ! vtin ! it>
Date:       2005-10-28 8:25:21
Message-ID: 4313D91A808B0E48947FBBB483599BAB7A4C52 () EVS2003-MI ! vtin ! it
[Download RAW message or body]


myfile.java:[11,1] annotations are not supported in -source 1.3

(try -source 1.5 to enable annotations) 

@SuppressWarnings("serial")

 

Executing mvn install i had that error. Where I have to set -source
options? 

I try mvn -source 1.5 compile and mvn compile -source 1.5 and mvn
compiler:compile -Dsource=1.5 and also mvn compiler:compile
-DcompilerVersion=1.5

 

Why annotations doesn't work? 

 

Tnx,

Luca



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic