0

Every time I run "Maven update" on my project, maven forced JRE System Library to the Execution Environment option. Shown below:

enter image description here

How to make M2E allow me to choose the other 2 options?

I had below configuration in my pom.xml in order to override the default J2SE-1.5 version of M2E:

    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <version>3.1</version>
      <configuration>
        <source>1.7</source>
        <target>1.7</target>
      </configuration>
    </plugin>
Community
  • 1
  • 1
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
  • duplicate : http://stackoverflow.com/questions/4759242/eclipse-maven-force-execution-environment-javase-1-6-instead-of-fixed-jdk – JavaSheriff Dec 07 '15 at 03:18
  • @user648026 Thanks but the answer to that question uses an internal property to fix it. It's more like a workaround to me rather than a solution. – smwikipedia Dec 07 '15 at 03:26

0 Answers0