title: Set the appropriate language_in option
body: <p>I have been using com.samaxes.maven minify maven plugin of version 1.7 to minify my js files. when i m trying to build my app. I am getting the error- ERROR: Parse Error. IE8(and below) will parse trailing commas in array and object literals incorrectly. I f you are targeting newer versions of JS, set the appropriate language_in option.</p>
  
  <p>My maven plugin config is as follwos.</p>
  
  <pre><code>&lt;plugin&gt;
              &lt;groupId&gt;com.samaxes.maven&lt;/groupId&gt;
              &lt;artifactId&gt;minify-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.7&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;default-minify&lt;/id&gt;
                      &lt;phase&gt;package&lt;/phase&gt;                      
                      &lt;configuration&gt;
                          &lt;jsEngine&gt;closure&lt;/jsEngine&gt;    
                          &lt;language_in&gt;ECMASCRIPT5&lt;/language_in&gt;                          
                          &lt;cssSourceFiles&gt;                               
                          &lt;/cssSourceFiles&gt;                           
                          &lt;jsSourceFiles&gt;
                                &lt;!--  jquery --&gt;
                               &lt;jsSourceFile&gt;core/jquery/1.8.2/jquery-1.8.2.js&lt;/jsSourceFile&gt;
                               &lt;jsSourceFile&gt;core/jquery-ui/jquery-ui-1.9.2.custom.js&lt;/jsSourceFile&gt;
                               &lt;!--  App --&gt;
                               &lt;jsSourceFile&gt;app-src/app/App.js&lt;/jsSourceFile&gt;
                               &lt;!--Date utility--&gt;
                               &lt;jsSourceFile&gt;core/xdate/xdate.js&lt;/jsSourceFile&gt;                           
                               &lt;jsSourceFile&gt;app-src/tg/util/Utility.js&lt;/jsSourceFile&gt;
                               &lt;jsSourceFile&gt;core/CharCounter.js&lt;/jsSourceFile&gt;
                               &lt;!-- Choosen--&gt;
                               &lt;jsSourceFile&gt;core/chosen/chosen.jquery.js&lt;/jsSourceFile&gt;
                               &lt;jsSourceFile&gt;core/jquery.uniform.js&lt;/jsSourceFile&gt;    
  
                            &lt;/jsSourceFiles&gt;
                            &lt;jsFinalFile&gt;appjs-all.js&lt;/jsFinalFile&gt;
                            &lt;linebreak&gt;-1&lt;/linebreak&gt;
                            &lt;nomunge&gt;false&lt;/nomunge&gt;
                            &lt;verbose&gt;false&lt;/verbose&gt;
                            &lt;preserveAllSemiColons&gt;false&lt;/preserveAllSemiColons&gt;
                            &lt;disableOptimizations&gt;false&lt;/disableOptimizations&gt;
                            &lt;bufferSize&gt;4096&lt;/bufferSize&gt;
                      &lt;/configuration&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;minify&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>I have even used language_in as ECMASCRIPT5. but Unable to figure out the reason why i am getting the error. </p>
  
  <p>Thank You All.</p>