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

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

2011-01-15 Thread Anders Hammar
otations 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 > that I went

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 JA

Re: A question about error message "annotations are not supported in -source 1.3"

2008-09-24 Thread Nick Stolwijk
AIL PROTECTED]> wrote: > > Hi all, > > I use Eclipse and the maven2 plugins to build project in Eclipse. I get an > error as I run "mvn install": > > [code] > ... > D:\Temp\myproject\src\main\java\com\mycompany\Person.java:[41,1] annotations > are not support

A question about error message "annotations are not supported in -source 1.3"

2008-09-24 Thread thomas2004
Hi all, I use Eclipse and the maven2 plugins to build project in Eclipse. I get an error as I run "mvn install": [code] ... D:\Temp\myproject\src\main\java\com\mycompany\Person.java:[41,1] annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) @XmlAc

Re: annotations are not supported in -source 1.3

2008-06-29 Thread James William Dumay
1.5 1.5 Cheers James On Sun, 2008-06-29 at 17:16 -0700, buters wrote: > Hi, > > I've executed junit tests with Maven and get such error: > 'annotations are not supported in -source 1.3 > > @Before'

annotations are not supported in -source 1.3

2008-06-29 Thread buters
Hi, I've executed junit tests with Maven and get such error: 'annotations are not supported in -source 1.3 @Before' Which source is meant here? How can I solve this? Thanks beforehand, regards, buters -- View this message in context: http://www.nabble.com/annotations-are-n

Re: annotations are not supported in -source 1.3

2007-09-17 Thread Kyle.Bober
On Thu, September 13, 2007 3:24 pm, Kyle.Bober wrote: > >> I have been using Maven for quite sometime and this is the first JDK6 >> project >> POM I have created. I am running into a compilation issue using the >> compiler:compile goal... This is what I get >> >>

Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3

2007-09-15 Thread Dennis Lundberg
g the compiler:compile goal... This is what I get annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService I have my JAVA_HOME env variable set to point to JDK6 and I can compile the java file fine using javac command but when I try using mvn comp

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-14 Thread Henri Yandell
On 9/13/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > Not in Gmail, I don't. My sent mail gets added to the thread, but I > don't get anything back... at least, I've never seen anything. Its > possible that Gmail is doing something funky or hiding something from > me. > > I see that both Anders and I

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Wayne Fay
Not in Gmail, I don't. My sent mail gets added to the thread, but I don't get anything back... at least, I've never seen anything. Its possible that Gmail is doing something funky or hiding something from me. I see that both Anders and I are on Gmail, which is why I'm thinking this might be the re

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Martijn Dashorst
gmail doesn't register your own messages as 'new'. as such your own first posts hardly get noticed in gmail, only when someone responds they light up. This is at least what I've learned over the years. Martijn On 9/13/07, Tim Kettler <[EMAIL PROTECTED]> wrote: > So when you reply to a message on

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Tim Kettler
So when you reply to a message on this list or start a new thread with just a "To: Maven Users List " header, you don't recieve the sent mail via the mailinglist? This is working for me. -Tim Wayne Fay schrieb: That explains a lot. And now that you mention it, something happened to me the first

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Wayne Fay
That explains a lot. And now that you mention it, something happened to me the first time I posted... a while back. I wonder if we could perhaps ask (someone) about changing the configuration of the mail list server, or something along those lines, if this is what people are generally expecting.

Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Anders Blehr
13. september 2007 16:47 > To: Maven Users List > Subject: Re: JDK6 compilation issue using Maven2 - > annotations are not supported in -source 1.3 > > Kyle, you sent this an hour ago and people responded to it. > Why did you resend? > > I've noticed a few people sen

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Kyle.Bober
://www.nabble.com/JDK6-compilation-issue-using-Maven2---annotations-are-not-supported-in--source-1.3-tf4435690s177.html#a12655881 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3

2007-09-13 Thread Wayne Fay
Kyle, you sent this an hour ago and people responded to it. Why did you resend? I've noticed a few people sending the same message multiple times and I'm curious why this happens. Wayne On 9/13/07, Graham Leggett <[EMAIL PROTECTED]> wrote: > On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote:

Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3

2007-09-13 Thread Graham Leggett
On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote: > > org.apache.maven.plugins > maven-compiler-plugin > > true > true > ${JAVA_HOME}/bin/javac > 6 > > Add this: 1.5 1.5 Regards, Grah

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Gisbert Amm
supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService I have my JAVA_HOME env variable set to point to JDK6 and I can compile the java file fine using javac command but when I try using mvn compile I receive the above error... I feel like a goof not being able to figure

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Graham Leggett
On Thu, September 13, 2007 3:24 pm, Kyle.Bober wrote: > I have been using Maven for quite sometime and this is the first JDK6 > project > POM I have created. I am running into a compilation issue using the > compiler:compile goal... This is what I get > > annotations are not su

Re: annotations are not supported in -source 1.3

2007-09-13 Thread Larry Meadors
piler:compile goal... This is what I get > > annotations are not supported in -source 1.3 > (use -source 5 or higher to enable annotations) > @WebService > > I have my JAVA_HOME env variable set to point to JDK6 and I can compile the > java file fine using javac command but when

annotations are not supported in -source 1.3

2007-09-13 Thread Kyle.Bober
I have been using Maven for quite sometime and this is the first JDK6 project POM I have created. I am running into a compilation issue using the compiler:compile goal... This is what I get annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService

Re: annotations are not supported in -source 1.3

2007-08-17 Thread Gisbert Amm
Just for the reference: http://jira.codehaus.org/browse/MCOMPILER-57 -Gisbert Mathias P.W Nilsson wrote: I get this error message when I run "mvn compile" annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) How is that? When I check "java

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Mathias P.W Nilsson
But I have? I've posted my pom and hibernate is in the dependency! -- View this message in context: http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4281106s177.html#a12187764 Sent from the Maven - Users mailing list archive at Nabbl

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Wayne Fay
exist and every other package as well > I see the javax.presistence in my M2_REPO variable in eclipse and can expand > it but not compile. Life where easier with ant :,( > -- > View this message in context: > http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Mathias P.W Nilsson
le in eclipse and can expand it but not compile. Life where easier with ant :,( -- View this message in context: http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4281106s177.html#a12186976 Sent from the Maven - Users mailing list archive at Nabbl

Re: annotations are not supported in -source 1.3

2007-08-16 Thread Wayne Fay
Google.com "maven compile source target" Wayne On 8/16/07, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > I get this error message when I run "mvn compile" > > annotations are not supported in -source 1.3 > (try -source 1.5 to enable annotations) >

annotations are not supported in -source 1.3

2007-08-16 Thread Mathias P.W Nilsson
I get this error message when I run "mvn compile" annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) How is that? When I check "java -version" I get java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build