Compile maven projects with JDK 1.6 in Eclipse Mars
问题 I need older version of m2e because I need to use older maven version (I have to compile some projects with JDK 1.6). Here the exception when launch any build (with java 1.6) in Mars: Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at