title: Nexus index loses artifact after deploy
body: <p>I have a nexus repo (v2.1.2) where I deploy osgi bundles created with the maven-bundle-plugin. By default, the nexus index doesn't include packages of type bundle, so if i do a search for a bundle, I only get a reference to the pom, not the bundle (jar). 
  However, following this <a href="https://support.sonatype.com/entries/21566122-why-don-t-artifacts-with-custom-packaging-types-show-up-in-search-results" rel="nofollow">entry</a>, I managed to make it work correctly. Here is what I added to <code>/usr/local/sonatype-work/nexus/conf/packaging2extension-mapping.properties</code></p>
  
  <pre><code>bundle=jar
  </code></pre>
  
  <p>If after the change I do a rebuild index as suggested in the article, now the index contains the bundles. However, my problem is that when i redeploy a new snapshot of one of the bundles, it disappears from the index. The only way to get it back is by recreating the index one more time. Obviously at this point the whole workflow is unusable: i can't manually recreate the index after every deploy.</p>
  
  <p>Is this a known issue? a bug? a misconfiguration?<br>
  Any ideas how to fix it?<br>
  I'm using the REST api to do queries so losing the artifacts from the index is pretty bad</p>