title: Fail to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile): Fatal error compiling: invalid target release: 11
body: <p>I want to build project and it give error like this:</p>
  <p><em>Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project messaging-utils-core: Fatal error compiling: invalid target release: 11</em></p>
  <p>I've tried to fix in various way by Googling it up but it doesn't work in my local. I am using Eclipse.</p>
  <p>Here is how my pom.xml looks like:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
           xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
           xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
      &lt;parent&gt;
          &lt;groupId&gt;sg.com.nets.utils&lt;/groupId&gt;
      &lt;artifactId&gt;messaging-utils-parent&lt;/artifactId&gt;
      &lt;version&gt;1.2.0-SNAPSHOT&lt;/version&gt;
  &lt;/parent&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;artifactId&gt;messaging-utils-core&lt;/artifactId&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.junit.vintage&lt;/groupId&gt;
                  &lt;artifactId&gt;junit-vintage-engine&lt;/artifactId&gt;
              &lt;/exclusion&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-starter-logging&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;sg.com.nets.common.faulttolerance&lt;/groupId&gt;
          &lt;artifactId&gt;fault-tolerance-core&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-validation&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.solacesystems&lt;/groupId&gt;
          &lt;artifactId&gt;sol-jcsmp&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
          &lt;artifactId&gt;gson&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.qpid&lt;/groupId&gt;
          &lt;artifactId&gt;qpid-jms-client&lt;/artifactId&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>I run mvn --version and it give this:</p>
  <pre><code>Apache Maven 3.6.3
  
  Java version: 1.8.0_281
  </code></pre>
  <p>For my environment I have this:</p>
  <pre><code>JAVA_HOME = D:\pathlocation\jdk1.8.0_281
  </code></pre>
  <p>Please assist me as I try to fix this issue several days already and still haven't solve. Thank you.</p>