Hi, blueprint maven plugin currently uses version 0.8.0 of org.ops4j.pax.cdi. There is not ranking property is this version: https://github.com/ops4j/org.ops4j.pax.cdi/blob/cdi-0.8.0/pax-cdi-api/src/main/java/org/ops4j/pax/cdi/api/OsgiServiceProvider.java
2016-11-09 17:41 GMT+01:00 Fetyko, Jan <[email protected]>: > Hi, > > > I'm trying to use > > > <plugin> > > <groupId>org.apache.aries.blueprint</groupId> > <artifactId>blueprint-maven-plugin</artifactId> > <version>1.4.0</version> > </plugin> > > with annotations: > > <dependency> > <groupId>org.ops4j.pax.cdi</groupId> > <artifactId>pax-cdi-api</artifactId> > <version>1.0.0.RC2</version> > <optional>true</optional> > </dependency> > > My bean has an annotation: > > @OsgiServiceProvider(classes = com.my.Clazz.class, ranking = 10) > > The generated service however doesn't have the ranking added as desired. > > I get > > <service ref="service" interface="com.my.Clazz"> > > Instead of (I think) expected > > <service ref="service" interface="com.my.Clazz" ranking="10"> > > Am I missing something ? > Is this a bug ? > > Thank you got your help. > > Jan > ________________________________ > NOTICE: This message, and any attachments, are for the intended > recipient(s) only, may contain information that is privileged, confidential > and/or proprietary and subject to important terms and conditions available > at E-Communication Disclaimer<http://www.cmegroup.com/tools- > information/communications/e-communication-disclaimer.html>. If you are > not the intended recipient, please delete this message. CME Group and its > subsidiaries reserve the right to monitor all email communications that > occur on CME Group information systems. > -- Pozdrawiam / Regards, Dominik Przybysz
