title: Is there a plugin that ties Jenkins' builds to Maven (Nexus) artifacts
body: <p>I was wondering if there is a Hudson/Jenkins plugin that ties repository artifacts to the build that created them?  I was looking at the question <a href="https://stackoverflow.com/questions/3692681/remove-artifacts-from-nexus-repository">"remove artifacts from nexus repository"</a> and thinking that deleting a build in Jenkins should also offer the option to remove the artifacts the build created.</p>
  
  <p>We are currently running <a href="http://jenkins-ci.org/changelog" rel="nofollow noreferrer">Jenkins 1.447</a> and the Nexus Open Source 1.9.2.3.  Our Jenkins builds create artifacts in our Nexus repository using the maven deploy goal.  I appears that once those artifacts have been deployed, there is no similarly automated mechanism to remove them.  We would like to tie the Jenkins build to its Nexus artifacts.  I figure if we have decided to remove the build from Jenkins, we have no use for the build and therefore, have no need to store the artifacts for that build either.  We would like deleting the build to trigger deleting the Nexus artifacts. </p>
  
  <p>If there's nothing available I figure I could start writing something, but I wanted to check and see how others handle this.</p>