Aren't you missing a closing parenthesis at the end of your filter ? 2015-03-24 10:26 GMT+01:00 Reto Gmür <[email protected]>:
> Hello, > > Only when using the maven bundle plugin version > 2.5.0 I get the following > error when using a target clause combining multiple conditions > (target="(&(foo=bar)(name=foo)"). > > Invalid filter syntax in requirement > > osgi.service~~=effective:=active;filter:="(&(objectClass=org.apache.clerezza.rdf.core.serializedform.Parser)(&(foo=bar)(name=foo))". > Reason Malformed query > > > This is the entry in xml file in OSGI-INF: > > <reference name="parser" > interface="org.apache.clerezza.rdf.core.serializedform.Parser" > cardinality="1..1" policy="static" target="(&(foo=bar)(name=foo)" > bind="bindParser" unbind="unbindParser"/> > > > Am I using the wrong syntax and the bundle-plugin just got stricter? > > Cheers, > Reto >

