Was a fix for this bug ever implemented? I'm experiencing a similar problem
using the 4.1.1 karaf maven plugin feature verification. It appears that the
plugin is attempting to uninstall org.ops4j.pax.url.wrap/2.5.2 for some
reason. The issue can be created by verifying this feature:

 
<repository>mvn:org.apache.karaf.features/enterprise-legacy/4.1.1/xml/features</repository>
 
<repository>mvn:org.apache.karaf.features/spring-legacy/4.1.1/xml/features</repository>

  <feature name="some-feature" version="${project.version}">
    <feature version="4.2.9.RELEASE_1">spring-orm</feature>
    <feature version="1.0.4">jpa</feature>
    <feature version="4.3.6.Final">hibernate</feature>
  </feature>

The bug can be avoided by altering the feature in the following manner
(adding the wrap dependency directly":

  <feature name="some-feature" version="${project.version}">
    <feature version="4.2.9.RELEASE_1">spring-orm</feature>
    <feature version="1.0.4">jpa</feature>
    <feature version="4.3.6.Final">hibernate</feature>
    <bundle>mvn:org.ops4j.pax.url/pax-url-wrap/2.5.2/jar/uber</bundle>
  </feature>



--
View this message in context: 
http://karaf.922171.n3.nabble.com/One-of-my-features-is-not-validating-on-custom-build-tp4045713p4050808.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to