I created a a new simple project using the "maven-archetype-webapp" version = RELEASE (It didn't show the version number but just said "RELEASE").
What I noticed is that though I have only Java SE 8 JDK and JRE, still, the default source and target versions for this archetype was "1.5" as shown in the "JRE System Library".
I then also noticed that in the Effective POM, the version for maven-compiler-plugin was 2.5.1, while the latest release version of 3.2 is available on mvnrepository. Similarly, POM has the junit version of 3.8.1 while 4.12 release version is available.
I was able to edit the POM and upgraded versions for these plugins and then I was able to compile it for source/target of Java 8. Great!
However, every new project that I create using "maven-archetype-webapp" archetype still chooses older versions. Is there a way to tell M2E to always include the most up-to-date release versions for the plug-ins and the external jars?
I tried using the <updatePolicy>always</updatePolicy> for <releases> but it didn't upgrade the plugins to the latest versions?
I checked the M2E version in the Help/About/Installation Details. It is 1.5, which is the latest version on M2E website too.