title: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ECoffeeShopJSF: Compilation failure
body: <p>I had completed JSF project and I want to deploy on Azure. I using GitHub action (connected with Azure) to build and deploy it. But, it appear this error when build <code>pom.xml</code>.</p>
  <p>This is error image:</p>
  <p><img src="https://i.stack.imgur.com/eyuOS.png" alt="error screenshot" /></p>
  <p>This is my <code>pom.xml</code></p>
  <pre class="lang-xml prettyprint-override"><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;modelVersion&gt;4.0.0&lt;/modelVersion&gt; 
              &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
              &lt;artifactId&gt;ECoffeeShopJSF&lt;/artifactId&gt;
              &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
              &lt;packaging&gt;war&lt;/packaging&gt;
              &lt;name&gt;ECoffeeShopJSF&lt;/name&gt;
              &lt;properties&gt;
                  &lt;endorsed.dir&gt;${project.build.directory}/endorsed&lt;/endorsed.dir&gt;
                  &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
              &lt;/properties&gt;       
              &lt;build&gt;
                  &lt;plugins&gt;
                     &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                          &lt;version&gt;3.1&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;source&gt;1.7&lt;/source&gt;
                              &lt;target&gt;1.7&lt;/target&gt;
                              &lt;compilerArguments&gt;
                                  &lt;endorseddirs&gt;${endorsed.dir}&lt;/endorseddirs&gt;
                              &lt;/compilerArguments&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.3&lt;/version&gt;
                          &lt;configuration&gt;
                              &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                          &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                          &lt;version&gt;2.6&lt;/version&gt;
                          &lt;executions&gt;
                              &lt;execution&gt;
                                  &lt;phase&gt;validate&lt;/phase&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;copy&lt;/goal&gt;
                                  &lt;/goals&gt;
                                  &lt;configuration&gt;
                                      &lt;outputDirectory&gt;${endorsed.dir}&lt;/outputDirectory&gt;
                                      &lt;silent&gt;true&lt;/silent&gt;
                                      &lt;artifactItems&gt;
                                          &lt;artifactItem&gt;
                                              &lt;groupId&gt;javax&lt;/groupId&gt;
                                              &lt;artifactId&gt;javaee-endorsed-api&lt;/artifactId&gt;
                                              &lt;version&gt;7.0&lt;/version&gt;
                                              &lt;type&gt;jar&lt;/type&gt;
                                          &lt;/artifactItem&gt;
                                      &lt;/artifactItems&gt;
                                  &lt;/configuration&gt;
                              &lt;/execution&gt;
                          &lt;/executions&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/build&gt; 
          &lt;/project&gt;
  </code></pre>
  <p>How to fix it?</p>