title: How to deal with internal maven dependencies within feature branches
body: <p>Our product is made up of different modules inside the same Git repository. Lets say we have "core" which has a maven dependency onto "api".</p>
  
  <p>Now, when we are working on a specific feature/bugfix branch, we are running builds from it, so that testing can work with it.</p>
  
  <p>All artifacts from all branches, end up in the same Maven repository, with the same version and classifiers. The modules do not get built together. So "api" may be built in the morning, and "core" in the afternoon.</p>
  
  <p>The problem we have is that at the moment, if there has been builds in between, "core" may be getting the "api" snapshot build from another branch.</p>
  
  <p>I imagine this is a common problem on teams working with a similar setup as us.</p>
  
  <p>I am tempted to say, that the way to deal with this problem is to make the Maven coordinate between branches unique, either with a special classifier, or with a special suffix in the version directly.</p>
  
  <p>Which approach should I follow?</p>