OBR does not understand the Require-Capability header, as it predates it. 
Therefore the header is ignored when generating the index.

Regards,
Neil


From: Sandro Boehme <sandro.boe...@gmx.de>
Reply: users@felix.apache.org <users@felix.apache.org>>
Date: 27 October 2014 at 15:37:25
To: users@felix.apache.org <users@felix.apache.org>>
Subject:  maven-bundle-plugin :: Require-Capability is not added to the 
repository.xml on deploy  

Hello,  

in my project [1] I would like to use a require-capability for a  
dependency. Using the maven-bundle-plugin it is written to the manifest  
file correctly. But when I deploy [2] the bundle to the OBR the  
require-capability is not added to the repository.xml [3]. When later  
starting the bundle of course the dependency can not be resolved and the  
bundle can not start.  
Does anybody know any solution?  

[1] - https://github.com/sandroboehme/resourceeditor  
[2] - mvn deploy  
-DremoteOBR=http://myUsername:myPassword@http://www.jcrbrowser.org/sling/obr/repository.xml
  
-DaltDeploymentRepository=www.jcrbrowser.org::default::dav:myUsername:myPassword@http://www.jcrbrowser.org/sling/obr
  
[3] - http://www.jcrbrowser.org/sling/obr/repository.xml  

Thanks,  

Sandro  

---------------------------------------------------------------------  
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org  
For additional commands, e-mail: users-h...@felix.apache.org  

Reply via email to