Thank you everyone for your replies. I knew it was something straight forward and simple that I was overlooking! In regards to the repostings I am not sure why that happened. My apologizes for the inconvenience and annoyance this may have caused some.
-Kyle Graham Leggett wrote: > > 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 supported in -source 1.3 >> (use -source 5 or higher to enable annotations) >> @WebService > > I suspect the compiler plugin is adding a -source parameter to the compile > step, and defaulting it to v1.3. Our poms enforce JDK v5 only, we define > this in our root pom for the compiler plugin: > > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > > Regards, > Graham > -- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/JDK6-compilation-issue-using-Maven2---annotations-are-not-supported-in--source-1.3-tf4435690s177.html#a12735443 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]