On 23.01.2013 18:34, Steve Cohen wrote:
To clarify a little more, we can eliminate the surefire plugin as a
culprit. Even without adding that dependency, simply running Maven
Update Project Configuration is changing my JRE to 1.5.
Why???
Every setting in Eclipse related to this points to 1.6.
According to docs [1], [2], default value is 1.5. You have to set it
explicitly [3] if 1.5 is not your target.
[1]
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source
[2]
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#target
[3]
https://manandbytes.wordpress.com/2011/04/27/convention-over-configuration-epic-fail/
--
Mykola
http://ua.linkedin.com/in/manandbytes
https://github.com/manandbytes/
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users