Christian: > Do you have any bundle providing the blueprint packages in your index?
I am actually providing blueprint in my runrequires property within bnd.bnd, as follows: >> -runrequires: \ >> ………. >> >> osgi.identity;filter:='(&(osgi.identity=org.osgi.service.blueprint)(version>=1.0.2.201505202024))’ >> ………. I’ve configured my central.xml file to provide this dependency: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>local</groupId> <artifactId>central</artifactId> <version>0.0.0</version> <packaging>pom</packaging> <dependencies> ………. <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.blueprint</artifactId> <version>1.0.2</version> </dependency> ………. </dependencies> </project> Thanks, Randy > On Feb 24, 2017, at 1:27 AM, Christian Schneider <ch...@die-schneider.net> > wrote: > > Do you have any bundle providing the blueprint packages in your index? > I also wonder a bit why activemq requires blueprint. Will check in the source. > > Christian > > On 24.02.2017 09:09, Randy Leonard wrote: >> I am having an issue getting Apache MQ to work with OSGi enRoute. I’ve >> stripped it down to just the following bnd.bnd file: >> >> ——————————— >> Bundle-Version: 1.0.0.${tstamp} >> Bundle-Description: This is my description >> Private-Package: com.xyz.event.mq.producer.provider >> >> -buildpath: \ >> osgi.enroute.base.api;version=1.0,\ >> javax.jms-api,\ >> org.apache.activemq.activemq-osgi,\ >> com.xyz.event.mq.producer.api;version=latest >> >> -testpath: osgi.enroute.junit.wrapper;version=4.12 >> -includeresource: {readme.md} >> >> -runrequires: \ >> >> osgi.identity;filter:='(osgi.identity=org.apache.activemq.activemq-osgi)',\ >> osgi.identity;filter:='(osgi.identity=javax.annotation-api)',\ >> osgi.identity;filter:='(osgi.identity=org.objectweb.asm)',\ >> >> osgi.identity;filter:='(&(osgi.identity=org.apache.felix.gogo.runtime)(version>=1.0.0))',\ >> >> osgi.identity;filter:='(&(osgi.identity=org.apache.felix.gogo.shell)(version>=1.0.0))',\ >> >> osgi.identity;filter:='(&(osgi.identity=org.apache.felix.gogo.command)(version>=1.0.0))',\ >> osgi.identity;filter:='(osgi.identity=org.apache.felix.scr)',\ >> >> osgi.identity;filter:='(&(osgi.identity=org.osgi.service.blueprint)(version>=1.0.2.201505202024))’ >> >> osgi.identity;filter:='(osgi.identity=com.xyz.event.mq.producer.provider)' >> >> -runbundles: \ >> com.xyz.event.mq.producer.provider;version=snapshot,\ >> org.apache.felix.configadmin;version='[1.8.8,1.8.9)',\ >> org.apache.felix.log;version='[1.0.1,1.0.2)',\ >> org.apache.felix.scr;version='[2.0.2,2.0.3)',\ >> org.eclipse.equinox.metatype;version='[1.4.100,1.4.101)',\ >> org.osgi.service.metatype;version='[1.3.0,1.3.1)' >> Export-Package: \ >> com.xyz.event.mq.producer.api,\ >> com.xyz.event.mq.producer.api.dto >> ——————————— >> >> >> But I am still getting the following resolution errors: >> >> ——————————— >> Unable to resolve <<INITIAL>> version=null: >> missing requirement com.xyz.event.mq.producer.provider >> -> Unable to resolve com.xyz.event.mq.producer.provider >> version=1.0.0.201702240740: >> missing requirement org.apache.activemq; version=[5.14.0,6.0.0) >> -> Unable to resolve org.apache.activemq.activemq-osgi version=5.14.3: >> missing requirement org.osgi.service.blueprint; version=[1.0.0,2.0.0)]] >> ——————————— >> >> >> This is confusing, as: >> - 'org.apache.activemq.activemq-osgi' should resolve ‘ org.apache.activemq; >> version=[5.14.0,6.0.0)’ >> - ‘org.osgi.service.blueprint’ should certainly resolve >> 'org.osgi.service.blueprint; version=[1.0.0,2.0.0)]]' >> >> Curious if anyone has been successful with Apache MQ within enRoute and >> could share some ideas? >> >> Thanks, >> Randy >> >> >> >> >> _______________________________________________ >> OSGi Developer Mail List >> osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org> >> https://mail.osgi.org/mailman/listinfo/osgi-dev >> <https://mail.osgi.org/mailman/listinfo/osgi-dev> > > -- > Christian Schneider > http://www.liquid-reality.de <http://www.liquid-reality.de/> > > Open Source Architect > http://www.talend.com <http://www.talend.com/> > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev