[ https://issues.apache.org/jira/browse/FELIX-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450533#comment-13450533 ]
Jochen Fliedner commented on FELIX-2892: ---------------------------------------- As of FELIX-3550 and version "maven-scr-plugin-1.8.0" etc. there is class retention and also ASM is used to extract the annotations from class files. As a problem for Scala remains that in a first step the maven plugin identifies the types from the project source folders *.java files. There is no java source code generated by the Scala compiler, so you won´t see any action. Btw some groovy guys seem happy already and switched their servlet from Java code to an annoted Groovy type: https://github.com/Citytechinc/cq5-groovy-console I think they let generate Java stubs by the "gmaven-plugin" and those can be used by the scr plugin. Would it be possible to make the class identifiction run on the maven project target folder? > 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 > > 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