title: Maven m2eclipse detect changes in dependecy in workspace and automatically install
body: <p>I found an annoying issue working with m2eclipse in Eclipse.</p>
  
  <p>My workspace contains 2 projects, an application A and a library B. The application A POM has B as a dependency and everything works correctly. (The project dependecy is found and used when I build the application)</p>
  
  <p>But if I change some code in project B and I forgot to mvn:install it, when I build the application  it uses the last built version of the library and it loses my last changes.</p>
  
  <p>Is there a way to force Maven / M2Eclipse to check if the source code  of the dependecy is newer than the last version built, and to install it when installing/ deploying the main application? </p>
  
  <p>Or maybe my approach is wrong or is something obvious that I'm missing?</p>