Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-31 Thread ankured182
I am now running Maven 3 . and the mvn compile is successful . Hence It's got something to do with my lack of provisioning for Maven 2 However I am still getting another error when I tried to run the main class with Derby(with your suggestion on persistence taken into account) . I am

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-19 Thread ankured182
Wayne Fay wrote: > >> I have uploaded my project file here in Rapishare >> http://rapidshare.com/files/443396415/je.zip . If possible , pls Run it >> from >> your Computer  . May be the error detection will be easier then. > > I downloaded your project and ran it. The only failure I encountered

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-19 Thread Wayne Fay
> I have uploaded my project file here in Rapishare > http://rapidshare.com/files/443396415/je.zip . If possible , pls Run it from > your Computer  . May be the error detection will be easier then. I downloaded your project and ran it. The only failure I encountered was related to a missing depend

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-19 Thread ankured182
Wayne Fay wrote: > >> 1. I made some changes in the pom.xml (indicated in Bold). > > This list strips HTML and RTF so no one can see your "bold" text. > >> 2. I ran mvn help:effective-pom  and this is what I got > > OK... but what happens (now) when you run "mvn compile"? I assume you > are r

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-17 Thread Wayne Fay
> 1. I made some changes in the pom.xml (indicated in Bold). This list strips HTML and RTF so no one can see your "bold" text. > 2. I ran mvn help:effective-pom  and this is what I got OK... but what happens (now) when you run "mvn compile"? I assume you are running all of this from the command

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-17 Thread ankured182
>From what I could comprehend so far : 1. I made some changes in the pom.xml (indicated in Bold). http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xs

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-16 Thread Wayne Fay
> I'm not running it in any IDE . straight from the command shell. > No other Java versions running I guess, other than 1.6.0_22. and its Maven > 2.2.1. Check what "mvn help:effective-pom" says when you run that from your project directory. Perhaps there is another compiler configuration that is b

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-16 Thread ankured182
Ron Thanks for the reply. I'm not running it in any IDE . straight from the command shell. No other Java versions running I guess, other than 1.6.0_22. and its Maven 2.2.1. http://maven.40175.n5.nabble.com/file/n3343936/maven2.jpg -- View this message in context: http://maven.40175.n5.nabble.co

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-16 Thread Ron Wheeler
What does your Java home point to? Do you have Java 1.3 installed somewhere? Are you running Maven in an IDE? If you type "mvn -version" what prints out. Ron On 16/01/2011 1:11 AM, ankured182 wrote: Hi . I'm getting this Error "annotations are not supported in -source 1.3" while trying to compi

Re: Error while compiling : annotations are not supported in -source 1.3

2011-01-15 Thread Anders Hammar
Possibly you need to move the compiler plugin configuration to pluginManagement. Just take what you have (do remove the inherited element though), but put it in pluginManagement. /Anders On Sun, Jan 16, 2011 at 07:11, ankured182 wrote: > > Hi . I'm getting this Error "annotations are not suppor

Error while compiling : annotations are not supported in -source 1.3

2011-01-15 Thread ankured182
Hi . I'm getting this Error "annotations are not supported in -source 1.3" while trying to compile a Java EE project which has a simple entity that uses JPA , from the root file je(which has the pom.xml) . I'm using MAven 2.2.1 . Its obvious that Maven not detecting the JAVA 6. In many forums th