Hi,

I am looking at http://enroute.osgi.org/tutorial_eval/400-command and under the 
heading "Adding the Command Bundle to the Runtime" it says to add the command 
bundle both to bndrun file and the pom.xml file. Strictly speaking command 
bundle is not a dependency so it does not need to go pom file. So I am looking 
something like this to be inserted to bndrun file:


osgi.identity;filter:='(&(osgi.identity=osgi.enroute.examples.eval.command)(osgi.version>=1.0.0-SNAPSHOT))'


but when I build with mvn install then I get the following error




[ERROR] Failed to execute goal 
biz.aQute.bnd:bnd-export-maven-plugin:3.4.0-SNAPSHOT:export (default) on 
project osgi.enroute.examples.eval.bndrun: Unable to resolve <<INITIAL>> 
version=null: missing requirement osgi.enroute.examples.eval.command; 
osgi.version>=1.0.0-SNAPSHOT -> [Help 1]

is it possible to use only bndrun and not the pom file?

Cheers
-Daghan


_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to