I believe that's a javadoc warning (not error). In addition to maven-compiler-plugin, you also need to specify the Java version in the javadoc plugin (in the reporting section) and, if you use it, the pmd plugin. Justin
________________________________ From: John Wooten [mailto:[email protected]] Sent: Fri 2/27/2009 7:16 PM To: Maven Users List Subject: Re: Eclipse and maven That is 1 place I have it. Still get error. Pardon bad thumbsmanship. Sent from mobile phone. On Feb 27, 2009, at 7:05 PM, Rusty Wright <[email protected]> wrote: > Only one plugin needs that: > > <plugins> > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > etc. > > > John Wooten wrote: >> I have added: >> <configuration> >> <source>1.5</source> >> <target>1.5</target> >> </configuration> >> to each plugin and I still get: >> [WARNING] Error while parsing /Users/woo/Development/workspaces/ >> areteq/modules/Foundation/src/main/java/com/areteq/common/ >> HashMapHandler.java: Can't use generics unless running in JDK 1.5 >> mode! >> Would be nice to specify this in one place ( run in JDK 1.5 mode ). >> On Feb 27, 2009, at 4:06 PM, Eugene Kuleshov wrote: >>> >>> >>> See comparison at >>> http://docs.codehaus.org/display/MAVENUSER/Eclipse+Integration >>> >>> regards, >>> Eugene >>> >>> >>> >>> supareno wrote: >>>> >>>> David, >>>> >>>> http://code.google.com/p/q4e is a very good tool too >>>> >>>>> though...i would also encourage you to check out the M2Eclipse >>>>> plugin >>>>> for Eclipse. it does a really good job of helping with the >>>>> integration of Maven and Eclipse >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Eclipse-and-maven-tp22245841p22254461.html >>> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >>> >>> --- >>> ------------------------------------------------------------------ >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
