[ https://issues.apache.org/jira/browse/FELIX-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510436#comment-13510436 ]
Reto Bachmann-Gmür commented on FELIX-2892: ------------------------------------------- The problem with the import statements can be worked around with the Ignore-Pacakge directive. The problem with the service can be worked around by extracting the exposed interface to a trait or superclass that has no annotation. E.g. for the example above define a trait FooT with the bar method and expose this as service interface: @Component @Service(Array(classOf[FooT])) class Foo extends FooT { ... > 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 > Fix For: maven-scr-plugin-1.9.0 > > Attachments: Foo.class > > > 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