Yes, adding this
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam</artifactId>
<version>2.6.0</version>
</dependency>
</dependencies>
</dependencyManagement>
..and now everything works again.
Magic moments...
Thanks
----- Ursprüngliche Mail -----
Von: "Peter Gardfjäll" <[email protected]>
An: [email protected]
CC: "Jean-Baptiste Onofré" <[email protected]>
Gesendet: Dienstag, 8. Januar 2013 11:12:05
Betreff: Re: All Pax Exam Integration Tests do not work anymore
I think this is caused by
https://issues.apache.org/jira/browse/KARAF-2096
Have a look at
http://karaf.922171.n3.nabble.com/My-Karaf-PaxExam-test-mysteriously-fails-after-new-year-td4027175.html
best regards, Peter
On 01/08/2013 11:08 AM, Jean-Baptiste Onofré wrote:
> Hi Michael,
>
> I gonna to take a look but it may be a change on the OPS4J repo.
>
> Thanks for the report.
>
> Regards
> JB
>
> On 01/08/2013 10:40 AM, Michael Szalay wrote:
>> Hi all
>>
>> since a few days, all our pax exam karaf integration tests do not work
>> anymore.
>>
>> The error message is:
>>
>> java.lang.Exception: Could not start bundle
>> mvn:org.ops4j.pax.swissbox/pax-swissbox-core/ in feature(s)
>> exam-2.4.0: Unresolved constraint in bundle
>> org.ops4j.pax.swissbox.core [79]: Unable to resolve 79.0: missing
>> requirement [79.0] package; (&(package=org.ops4j.lang)(version>=1.4.0))
>> at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:356)[21:org.apache.karaf.features.core:2.2.9]
>>
>> at
>> org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:988)[21:org.apache.karaf.features.core:2.2.9]
>>
>> Caused by: org.osgi.framework.BundleException: Unresolved constraint
>> in bundle org.ops4j.pax.swissbox.core [79]: Unable to resolve 79.0:
>> missing requirement [79.0] package;
>> (&(package=org.ops4j.lang)(version>=1.4.0))
>> at
>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)[org.apache.felix.framework-3.2.2.jar:]
>>
>> at
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1797)[org.apache.felix.framework-3.2.2.jar:]
>>
>> at
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)[org.apache.felix.framework-3.2.2.jar:]
>>
>> at
>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)[org.apache.felix.framework-3.2.2.jar:]
>>
>> at
>> org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:353)[21:org.apache.karaf.features.core:2.2.9]
>>
>>
>>
>> We use the following versions pax and karaf exam:
>>
>> <!-- PAX Exam -->
>> <dependency>
>> <groupId>org.apache.karaf.tooling.exam</groupId>
>>
>> <artifactId>org.apache.karaf.tooling.exam.container</artifactId>
>> <version>2.3.0</version>
>> </dependency>
>> <dependency>
>> <groupId>org.ops4j.pax.exam</groupId>
>> <artifactId>pax-exam-junit4</artifactId>
>> <version>2.6.0</version>
>> </dependency>
>>
>> any hints what has changed here?
>>
>> Regards Michael
>>
>