title: strings in switch are not supported in -source 1.5 [ERROR] (use -source 7 or higher to enable strings in switch)
body: <p>i am using Java 1.8.101 version. when i run maven clean install, at that time i am getting error</p>
  
  <pre><code>strings in switch are not supported in -source 1.5
  [ERROR] (use -source 7 or higher to enable strings in switch).
  </code></pre>
  
  <p>I don't know why because already i am using java 1.8.101 version.\</p>
  
  <p>Any help would be great.
  Thanks a lot in advance for help.
  Attached screenshot.</p>
  
  <p><img src="https://i.stack.imgur.com/uSFfG.png" alt="java "></p>