maven-compiler-plugin causing eclipse projects to have j2se 1.4 instead of configured one

Today was investigating the warnings around some of my eclipse maven projects and noticed that I have a few There are no JREs installed in the workspace that are strictly compatible with this environment messages. It took some time to figure out that it was actually the maven-compiler-plugin causing the the J2SE version to be picked up correctly. If I changed the packaging of the maven project to jar everything was generated fine....

04/21/2011 · 1 min · Viktor Halitsyn