Hi Seth, The resolver is not involved here for the mvn URL resolution: it's pax-url-aether.
The MVN URL should be: mvn:groupId/artifactId/version/type/classifier I'm surprised as we use such kind of URL in features, like in Camel for instance. Don't you have an issue in your bundle ? If you try to install the bundle by hand using: bundle:install -s mvn:hello/world/1.0/jar/special does it work ? Regards JB On 01/29/2018 06:45 PM, Seth Leger wrote: > Hi everyone, > > Running Karaf 4.1.2 and I think I'm running into a bug in the Karaf > feature resolver. If I make a feature with 2 bundles generated by the > same project (one with a classifier), the resolver ignores the artifact > with the classifier and only installs the main artifact. For example: > > <feature name="hello" version="1.0"> > <bundle>mvn:hello/world/1.0</bundle> > <bundle>mvn:hello/world/1.0/jar/special</bundle> > </feature> > > karaf@root> feature:install -t -v hello > ... > Bundles to install: > mvn:hello/world/1.0 > ... > > The mvn:hello/world/1.0/jar/special JAR appears to be ignored. Maybe the > feature resolver isn't taking the classifier into account somewhere? > > Does this sound like a bug that needs to be filed in JIRA? Maybe I am > missing something in my feature definition. > > Seth Leger > The OpenNMS Group > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
