title: Code-changes in dependencies are not updated automatically
body: <p>I'm having some dependencies in my projects which I'm including in my <strong>pom.xml</strong>:</p>
  
  <pre><code>&lt;packaging&gt;war&lt;/packaging&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.mahlzeit&lt;/groupId&gt;         
          &lt;artifactId&gt;mz-data-model&lt;/artifactId&gt;
          &lt;version&gt;${project.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
          &lt;artifactId&gt;mz-web-shared&lt;/artifactId&gt;
          &lt;version&gt;${project.version}&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>However, my problem is that changes in the code of these projects are not visible to my web server when I'm running it.</p>
  
  <p>I always have to run</p>
  
  <pre><code>mvn clean install 
  </code></pre>
  
  <p>in <code>mz-web-shared/</code> and <code>mz-data-model/</code> such that the jar files are getting compiled and the repository updated.</p>
  
  <p>Why do I have to do that and how can I make this work without me having to run <code>mvn clean install</code> manually in my dependencies?</p>