You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Tomasz Chodakowski <ch...@wp.eu> on 2010/08/05 11:21:02 UTC

maven-bundle-plugin picking up unexpected dependency on org.osgi.service.blueprint

Apparently the maven-bundle plugin (ver 2.1.0) picks up an unexpected 
package dependency (org.osgi.service.blueprint) during build of my 
blueprint-enabled bundle. That gives an unresolved reference error: 
"Unresolved references to [org.osgi.service.blueprint] by class(es) on 
the Bundle-Classpath[Jar:dot]: []"

I've never seen the package being mentioned in blueprint specs. The only 
explicitly stated package dependency in my bundle related to blueprint 
is 'org.osgi.service.blueprint.container;version="[1.0.0,2.0.0)"'

I would like to know whether this is an expected behaviour. Tried 
compiling  with Spring bundlor plugin and it wasn't introducing the 
dependency.

Tomasz

ps: The workaround to this problem is to make the package optional: 
"org.osgi.service.blueprint;resolution:=optional"



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org