Re: Building custom distributions - missing dependencies

2014-06-16 Thread Mark Derricutt
And what if I don't care for equinox at all? It's not mentioned in my pom.xml ( https://gist.github.com/talios/c057331aa4853bc60e7d ) anywhere ( neither mentioned in the one on http://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html ). I don't have any assembly

Re: Building custom distributions - missing dependencies

2014-06-16 Thread Johan Edstrom
Then we don't build! On Jun 16, 2014, at 12:23 AM, Mark Derricutt m...@talios.com wrote: And what if I don't care for equinox at all? It's not mentioned in my pom.xml ( https://gist.github.com/talios/c057331aa4853bc60e7d ) anywhere ( neither mentioned in the one on

Issues with Attachments: week of 2014-06-16

2014-06-16 Thread jb
KARAF - Monday, June 16, 2014 6 Issues with Attachments (sorted oldest to newest) [KARAF-1137] Corrupted output for bundle:info command in 3.0.0-SNAPSHOT - Created: 2012-01-04 - Updated: 2014-05-30 - Type: Bug - Fix Versions: [4.0.0, 3.0.2] - Reporter:

Re: Building custom distributions - missing dependencies

2014-06-16 Thread Jean-Baptiste Onofré
Hi Mark, let me check if there is not mistake in the documentation. Regards JB On 06/16/2014 08:23 AM, Mark Derricutt wrote: And what if I don't care for equinox at all? It's not mentioned in my pom.xml ( https://gist.github.com/talios/c057331aa4853bc60e7d ) anywhere ( neither mentioned in

Missing Constraint: Import-Package: com.sun.jersey.api.client

2014-06-16 Thread SapnaB
Hi All, I have added some client code in my osgi bundle using jersey. I have added jersey-bundle dependency in my pom.xml as below: dependency groupIdcom.sun.jersey/groupId artifactIdjersey-bundle/artifactId version1.18.1/version /dependency The imported packages in my

Re: Missing Constraint: Import-Package: com.sun.jersey.api.client

2014-06-16 Thread Matt Sicker
Do you have the jersey client installed in karaf, too? On 16 June 2014 19:54, SapnaB sapnabhargava...@gmail.com wrote: Hi All, I have added some client code in my osgi bundle using jersey. I have added jersey-bundle dependency in my pom.xml as below: dependency

Re: Missing Constraint: Import-Package: com.sun.jersey.api.client

2014-06-16 Thread SapnaB
Hi Matt, I installed all the required jersey jars in karaf and started them too as below: install mvn:com.sun.jersey/jersey-core/1.18.1 install mvn:com.sun.jersey/jersey-server/1.18.1 install mvn:javax.ws.rs/jsr311-api/1.1.1 install mvn:com.sun.jersey/jersey-json/1.18.1 install

Re: Missing Constraint: Import-Package: com.sun.jersey.api.client

2014-06-16 Thread Matt Sicker
What do you get when you run headers on those bundle IDs? Or running diag? On 16 June 2014 22:45, SapnaB sapnabhargava...@gmail.com wrote: Hi Matt, I installed all the required jersey jars in karaf and started them too as below: install mvn:com.sun.jersey/jersey-core/1.18.1 install

Re: Missing Constraint: Import-Package: com.sun.jersey.api.client

2014-06-16 Thread SapnaB
Hi Matt, I get manifest headers as well as the import/export packages with dependencies, when I run osgi:headers on the above Bundle ids. The command run on my bundle gives: Apache Karaf :: Shell test/test-mcds Commands (370) ---

Re: Missing Constraint: Import-Package: com.sun.jersey.api.client

2014-06-16 Thread Matt Sicker
Well, if they show up in red, that means they're unsatisfied. Check the headers for the dependencies as well to make sure they're exporting everything properly. Sometimes you need to install artifacts with wrap: before the mvn: to add OSGi metadata. On 16 June 2014 23:10, SapnaB