Hi, It's not possible for a feature, but can do it for a bundle, something like <bundle dependency='true'>mvn:http://maven.restlet.org!org.restlet.jse/org.restlet/${restlet-version}</bundle> ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-2-4, at 上午12:29, lbu wrote: > Hi, > I would like to know if it possible to set a repository alongside a karaf > feauture e.g: > > <feature name="my-feautre-1" version="1.0.0" > repository="http://maven.mycompany.com"> > <feature name="my-feautre-2" version="1.0.0" repository="file:///opt/maven"> > <feature name="my-feautre-3" version="1.0.0" > repository="file://${env.HOME}/.m2/repository"> > > So we can avoid to search in the repository chain configured via config > admin if we know where a bundle is and where it isn't > > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/karaf-features-and-maven-urls-tp4027592.html > Sent from the Karaf - User mailing list archive at Nabble.com.
