m2e uses the settings from the compiler plugin. If you want 1.6, then update the plugin source/target in your pom.
On Thu, Nov 12, 2009 at 8:53 AM, eyal edri <eyal.e...@gmail.com> wrote: > This works, > > i'm trying to make the m2eclipse plugin do it by default when creating a new > maven project. > > in eclipse the default JDK is 1.6. > > Also, when using the wizard, i don't edit the pom file to see the jdk ver, > even after it is created, i can't see any node saying the jdk ver. > > > > On Thu, Nov 12, 2009 at 3:37 PM, maven apache <apachemav...@gmail.com>wrote: > >> 2009/11/12 eyal edri <eyal.e...@gmail.com> >> >> > HI, >> > >> > i'm creating a new maven project in eclipse using m2eclipse. >> > >> > my default JDK in 1.6.016 in eclipse. >> > for some reason the wizard adds the J2SE 1.4 as the JRE SYSTEM LIBRARY >> > instead of 1.6 JDK. >> > >> > In the build path try to remove the Jre Libragy and add the jdk1.6 >> again. >> >> > anyone has an idea how to fix it? >> > >> > >> > >> > -- >> > Eyal Edri >> > >> > > > > -- > Eyal Edri > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org