title: Strip version number from dependency based on group ID in maven
body: <p>I have a project that has 3rd party dependencies, as well as dependencies on internal projects. I need to strip the version numbers from the dependent artifacts that are developed in-house.</p>
  
  <p>For example: <code>spring-2.5.6.jar</code> should be in the final output as <code>spring-2.5.6.jar</code> but <code>MyInternalProject-1.0.17.jar</code> needs to be changed to <code>MyInternalProject.jar</code>.</p>
  
  <p>I can identify the internal dependencies easily enough by their group ID (they are all something like <code>com.mycompany.*</code>). The <code>maven-dependency-plugin</code> has a <code>stripVersion</code> option, but it does not seem to be selective enough. Is there a way to do this, short of explicitly naming each dependency and what their final name should be?</p>
  
  <hr>
  
  <p>Phrased another way:</p>
  
  <p>I would like to have different <code>outputFileNameMapping</code>s for the maven-assembly-plugin for artifacts based on group ID. Is there a way to do this?</p>