Thanks for the update. Cave has deeply changed between 3.x and 4.x.

Let me take a look.

I think you didn't create a Jira about that, right ?

Regards
JB

On 11/06/2015 05:02 PM, matt.j wrote:
I followed the same steps with Karaf 3.0.5 and Cave 3.0.0 and it worked
fine. When I do this with Karaf 4.0.2 and Cave 4.0.0 it does not work.

Thanks
Matt

On 11/5/2015 1:58 PM, jbonofre [via Karaf] wrote:
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é
[hidden email] </user/SendEmail.jtp?type=node&node=4043311&i=0>
http://blog.nanthrax.net
Talend - http://www.talend.com


------------------------------------------------------------------------
If you reply to this email, your message will be added to the
discussion below:
http://karaf.922171.n3.nabble.com/Karaf-4-0-2-with-cave-4-0-0-obr-deploy-not-deploying-dependencies-tp4043310p4043311.html

To unsubscribe from Karaf 4.0.2 with cave 4.0.0: obr:deploy not
deploying dependencies, click here
<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4043310&code=bWF0dC5qb25lc0BjbWNmbGV4LmNvbXw0MDQzMzEwfC0xMjg3MjU0NTAy>.
NAML
<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>



--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to