Hi Matt,
can you check the requirements/capabilities of your bundles in generated
repository.xml ?
Regards
JB
On 11/05/2015 09:55 PM, matt.j wrote:
I am having problems getting a bundle to deploy to my karaf container because
of dependencies. My steps are below. Am I missing something? This is on a
Windows 7 box running java 1.8.
1. Install Karaf 4.0.2
2. Ran feature:install obr
3. Ran feature:repo-add
mvn:org.apache.karaf.cave/apache-karaf-cave/4.0.0/xml/features
4. Ran feature:install cave-server
5. Created my cave repository: cave:repository-create acct_service
6. Uploaded 3 bundles, 1 implementation bundle, 1 API bundle, and 1
additional dependency.
7. Viewed the repository.xml in the cave repository and everything looked
good.
8. Ran obr:url-add with the repository.xml
9. Ran obr:url-refresh
10. Ran obr:list. I can see all three bundles.
11. Ran obr:deploy -s com.matt.accountservice.impl (this is the
implementation bundle that has the two other dependencies)
The obr:deploy command fails and gives me a message that I have unsatified
requirements. The two requirements that are missing show when I run the
obr:list command. My understanding is the obr:install should automatically
pull the 2 dependencies for me. Does anyone know what I am missing?
Thanks in advance,
Matt
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-4-0-2-with-cave-4-0-0-obr-deploy-not-deploying-dependencies-tp4043310.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com