Hi Charles, are you using this dependency in your maven pom file. For me it usually works best if all dependencies are first resolved through maven. If done so the versionAsInProject can also be used.
regards, Achim 2014/1/17 Charles Moulliard <[email protected]> > Hi, > > I experience a strange issue using pax-exam with Karaf 2.3.x > > The following features file is available in my local maven repo > > mvn:org.drools/drools-karaf-features/6.1.0-SNAPSHOT/xml/features > > -rw-r--r-- 1 chmoulli 1881291218 10473 Jan 17 08:45 > /Users/chmoulli/.m2/repository/org/drools/drools-karaf-features/6.1.0-SNAPSHOT/drools-karaf-features-6.1.0-SNAPSHOT-features.xml > > but when pax-exam tries to find the features, I get ERRORS (feature null > not found, feature drools-module not found, ...) from FeaturesServiceImpl > even if the features are well present in features file > > example > > <feature name="drools-module" version="6.1.0-SNAPSHOT" > description="Drools core"> > <feature version="6.1.0-SNAPSHOT">drools-common</feature> > <feature version="6.1.0-SNAPSHOT">kie</feature> > <bundle>mvn:org.drools/drools-core/6.1.0-SNAPSHOT</bundle> > <bundle>mvn:org.drools/drools-compiler/6.1.0-SNAPSHOT</bundle> > > <bundle>mvn:org.drools/drools-osgi-integration/6.1.0-SNAPSHOT</bundle> > </feature> > > https://gist.github.com/8470059 > > Line 1133 --> > http://grepcode.com/file/repo1.maven.org/maven2/org.apache.karaf.features/org.apache.karaf.features.core/2.3.0/org/apache/karaf/features/internal/FeaturesServiceImpl.java > > As this is really hard to debug Pax-Exam + Karaf, does anybody has an idea > bout the issue ? Could it be possible that pax-exam does not look into my > local repo ? Can I tell / force pax-exam to look into my local repo ? > > Regards, > > -- > Charles Moulliard > Apache Committer / Architect @RedHat > Twitter : @cmoulliard | Blog : http://cmoulliard.github.io > > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
