Was the pom below helpful in any way to understanding this issue?

Thanks,
Raman

On 01/26/2016 01:00 PM, Raman Gupta wrote:
> Here you go:
> 
> http://pastebin.com/4F13xSp9
> 
> Regards,
> Raman
> 
> On 01/26/2016 12:40 PM, Jean-Baptiste Onofré wrote:
>> Can you share your pom.xml ?
>>
>> Thanks,
>> Regards
>> JB
>>
>> On 01/26/2016 06:39 PM, Raman Gupta wrote:
>>> I didn't, but adding those does not help. I also tried adding
>>> slf4j-api >= 1.6.0 as suggested by the error message. Still fails with
>>> the same error. I tried both the pom <dependencies> section as well as
>>> the plugin <dependencies>.
>>>
>>> Regards,
>>> Raman
>>>
>>> On 01/26/2016 12:24 PM, Jean-Baptiste Onofré wrote:
>>>> Hi Raman,
>>>>
>>>> Can you check if standard feature dependency is present in the pom.xml
>>>> and with compile as scope ?
>>>>
>>>> Basically, you should have:
>>>>
>>>>          <dependency>
>>>>              <groupId>org.apache.karaf.features</groupId>
>>>>              <artifactId>framework</artifactId>
>>>>              <version>4.0.4</version>
>>>>              <type>kar</type>
>>>>          </dependency>
>>>>          <dependency>
>>>>              <groupId>org.apache.karaf.features</groupId>
>>>>              <artifactId>standard</artifactId>
>>>>              <version>4.0.4</version>
>>>>              <classifier>features</classifier>
>>>>              <type>xml</type>
>>>>          </dependency>
>>>>
>>>> in your pom.xml.
>>>>
>>>> Is it the case ?
>>>>
>>>> Thanks,
>>>> Regards
>>>> JB
>>>>
>>>> On 01/26/2016 06:18 PM, Raman Gupta wrote:
>>>>> I am trying to use karaf-maven-plugin version 4.0.4 to verify a
>>>>> feature, but always get the following error:
>>>>>
>>>>> Message: Unable to resolve root: missing requirement [root]
>>>>> osgi.identity; osgi.identity=wrap; type=karaf.feature; version=0;
>>>>> filter:="(&(osgi.identity=wrap)(type=karaf.feature)(version>=0.0.0))"
>>>>> [caused by: Unable to resolve wrap/0.0.0: missing requirement
>>>>> [wrap/0.0.0] osgi.identity; osgi.identity=org.ops4j.pax.url.wrap;
>>>>> type=osgi.bundle; version="[2.4.5,2.4.5]"; resolution:=mandatory
>>>>> [caused by: Unable to resolve org.ops4j.pax.url.wrap/2.4.5: missing
>>>>> requirement [org.ops4j.pax.url.wrap/2.4.5] osgi.wiring.package;
>>>>> filter:="(&(osgi.wiring.package=org.slf4j)(version>=1.6.0)(!(version>=2.0.0)))"]]
>>>>>
>>>>>
>>>>>
>>>>> It seems that the pax wrap feature is not being loaded by the
>>>>> verifier
>>>>> (wrap is used in my features.xml).
>>>>>
>>>>> I don't specify a custom config.properties, so the default is being
>>>>> used, which should load the wrap feature.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Regards,
>>>>> Raman Gupta
>>>>>
>>>>
>>

Reply via email to