title: Angular Cli with POM - Maven
body: <p>I have a project using Spring Boot and Angular 8.
  I can build it without problem ,here is how i am building the front-end inside POM:</p>
  
  <p>`
                  
                  com.github.eirslett
                  frontend-maven-plugin
                  1.6
                  </p>
  
  <pre><code>        &lt;!--    &lt;skip&gt;true&lt;/skip&gt;--&gt;
  
                  &lt;workingDirectory&gt;${angular.project.location}&lt;/workingDirectory&gt;
                  &lt;installDirectory&gt;${angular.project.nodeinstallation}&lt;/installDirectory&gt;
                  &lt;nodeVersion&gt;v10.13.0&lt;/nodeVersion&gt;
                  &lt;npmVersion&gt;6.4.1&lt;/npmVersion&gt;
              &lt;/configuration&gt;
  
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;install node and npm&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;install-node-and-npm&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;phase&gt;initialize&lt;/phase&gt;
                  &lt;/execution&gt;
                  &lt;execution&gt;
                      &lt;id&gt;npm install&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;npm&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;arguments&gt;install&lt;/arguments&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
                  &lt;execution&gt;
                      &lt;id&gt;ng prod &lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;npm&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;arguments&gt;run prod&lt;/arguments&gt;
  
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>`</p>
  
  <p>My question is,i need to deploy this with Jenkins,what do i need to add to the POM so Angular-CLI is installed on Jenkins?
  Because i guess,the "NG" command will not be found in Jenkins.
  How do i resolve this? </p>