[ https://issues.apache.org/jira/browse/FELIX-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507358#comment-13507358 ]
Reto Bachmann-Gmür edited comment on FELIX-2892 at 11/30/12 3:18 PM: --------------------------------------------------------------------- Great with <scanClasses>true</scanClasses> it works. The only thing I had to exclude the scr-annotation in the bundle plugin with <Import-Package>!org.apache.felix.scr.annotations, *</Import-Package>, or would there be a reason fro having the available in OSGi. was (Author: reto): I tried it with maven-bundle-plugin 2.3.7 and maven-scr-plugin 1.8.1-SNAPSHOT compiled from trunk, but no OSGI-INF is in the the target jar. Should I use other versions? Update: it seems to work when I put the <scanClasses>true</scanClasses> in the rightplace > Get SCR annotations to work with Scala > -------------------------------------- > > Key: FELIX-2892 > URL: https://issues.apache.org/jira/browse/FELIX-2892 > Project: Felix > Issue Type: Improvement > Components: Maven SCR Plugin > Reporter: Reto Bachmann-Gmür > Assignee: Carsten Ziegeler > > Currently the maven scr plugin doesn't work with scala, teh main reason for > this is that the annotation have only source scope and the adding of > bind-methods happe on a source rather than a bytecode level. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira