title: Apache OSGI Karaf's features-maven-plugin:create-kar is failing on a features.xml bundle using the PAX wrap/bnd syntax
body: <p>The problematic line is the first <em>bundle</em> in this features snippet</p>
  
  <pre><code>&lt;feature name="stuff-common-security"&gt;
      &lt;bundle&gt;wrap:mvn:org.springframework/ldap/1.3.0.RELEASE,mvn:com.mycompany.stuff/stuff-common-security/1.0-SNAPSHOT/bnd/spring-ldap&lt;/bundle&gt;
      &lt;bundle&gt;mvn:org.springframework.security/spring-security-core/3.1.0.RELEASE&lt;/bundle&gt;
      &lt;bundle&gt;mvn:org.springframework.security/spring-security-ldap/3.1.0.RELEASE&lt;/bundle&gt;
      &lt;bundle&gt;mvn:com.mycompany.stuff/stuff-common-security/1.0-SNAPSHOT&lt;/bundle&gt;
  &lt;/feature&gt;
  </code></pre>
  
  <p>The create-kar goal fails with this error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.2.9:create-kar (create-kar) on project stuff-demo:
   Failed to create kar archive: 
   Could not find artifact org.springframework:ldap:stuff-common-security:1.0-SNAPSHOT:1.3.0.RELEASE,mvn:com.mycompany.stuff 
  in maven.mycompany.com (http://maven.mycompany.com/artifactory/libs-release-local)
  [ERROR]
  [ERROR] Try downloading the file manually from the project website.
  [ERROR]
  [ERROR] Then, install it using the command:
  [ERROR] mvn install:install-file -DgroupId=org.springframework -DartifactId=ldap 
         -Dversion=1.3.0.RELEASE,mvn:com.mycompany.stuff -Dclassifier=1.0-SNAPSHOT 
         -Dpackaging=stuff-common-security -Dfile=/path/to/file
  </code></pre>
  
  <p>It seems to be misparsing that bundle element text and treating the wrapper as part of the version number.</p>
  
  <pre><code>&lt;bundle&gt;wrap:mvn:org.springframework/ldap/1.3.0.RELEASE,mvn:com.mycompany.stuff/stuff-common-security/1.0-SNAPSHOT/bnd/spring-ldap&lt;/bundle&gt;
  </code></pre>
  
  <p>Karaf itself is happy as a clam with this bundle syntax, so I don't think I made an error there.</p>
  
  <p>Is there an alternative way I can express this so I don't get this error from create-kar?</p>