title: How to change Java version in Fortify SCA
body: <p>My Java-Maven project is implemented in Java 1.8. I have integrated my Maven build with Fortify SCA, by installing Fortify and adding the dependancies in my project's pom.xml. However, during the scans, it gives me the below log</p>
  
  <pre><code>[INFO] --- sca-maven-plugin:4.30:scan (default-cli) @ projectname ---
  [INFO]                    Packaging -&gt; jar
  [INFO]        Top-Level Artifact ID -&gt; null
  [INFO]                  Build Label -&gt; projectname-0.1.SNAPSHOT
  [INFO]                Build Version -&gt; 0.1.SNAPSHOT
  [INFO]           Build Project Name -&gt; projectname
  [INFO]                     Build ID -&gt; projectname-0.1.SNAPSHOT
  [INFO]                 Results File -&gt; /Users/workspaceneon/projectname/target/projectname-0.1.SNAPSHOT.fpr
  [INFO]   Location of SCA Executable -&gt; sourceanalyzer
  [INFO]                     Scan Log -&gt; /Users/workspaceneon/projectname/target/sca-scan.log
  [INFO]             FindBugs Results -&gt; true
  [INFO]                Fail on Error -&gt; true
  [INFO]                Upload to SSC -&gt; false
  [INFO] Issues will not be tracked and trended without uploading to SSC.
  [INFO] *** !! Scanning individual sub-project - projectname !! ***
  [INFO] Created output dir /Users/workspaceneon/projectname/target
  [INFO] cmd: "/bin/sh -c sourceanalyzer -scan -Xmx800M @/Users/workspaceneon/projectname/target/sca-scan-args.txt"
  Fortify Static Code Analyzer 6.30.0086
  Fortify Static Code Analyzer 6.30.0086
  </code></pre>
  
  <p>Also, the Java version is reported to be</p>
  
  <pre><code>[INFO]               Source Version -&gt; 1.6
  </code></pre>
  
  <p>You can see the version of my Fortify in the above console log.</p>
  
  <p>I feel Fortify is scanning my project assuming it to be a Java 1.6 project. My question is, how can I tell Fortify to scan it as a 1.8 project, and report errors accordingly?</p>