title: Auto deploy on save Netbeans entreprise project using maven
body: <p>I have a <code>NetBeans</code>  mavenized project Contaning:</p>
  <ol>
  <li><p>web project (<code>war</code>) <img src="https://i.stack.imgur.com/MtXqc.png" alt="enter image description here" /></p>
  </li>
  <li><p>ejb project (<code>jar</code>)   <img src="https://i.stack.imgur.com/9nQnb.png" alt="enter image description here" /></p>
  </li>
  <li><p>parent project <img src="https://i.stack.imgur.com/KRqlZ.png" alt="enter image description here" /></p>
  </li>
  <li><p>maven project  <img src="https://i.stack.imgur.com/6g2DH.png" alt="enter image description here" /></p>
  <p>After every change I must clean an build the maven project and Run the Parent project</p>
  </li>
  </ol>
  <p>How canI configure my projects to auto deploy on save ?</p>
  <p>the configuration file(<code>nb-configuration.xml</code>) is as follows :</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project-shared-configuration&gt;
      &lt;!--
  This file contains additional configuration written by modules in the NetBeans IDE.
  The configuration is intended to be shared among all the users of project and
  therefore it is assumed to be part of version control checkout.
  Without this configuration present, some functionality in the IDE may be limited or fail altogether.
  --&gt;
      &lt;properties xmlns=&quot;http://www.netbeans.org/ns/maven-properties-data/1&quot;&gt;
          &lt;!--
  Properties that influence various parts of the IDE, especially code formatting and the like. 
  You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
  That way multiple projects can share the same settings (useful for formatting rules for example).
  Any value defined here will override the pom.xml file value but is only applicable to the current project.
  --&gt;
          &lt;netbeans.compile.on.save&gt;all&lt;/netbeans.compile.on.save&gt;
      &lt;/properties&gt;
  &lt;/project-shared-configuration&gt;
  </code></pre>