[ https://issues.apache.org/jira/browse/FELIX-5116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15350251#comment-15350251 ]
Cristiano GaviĆ£o commented on FELIX-5116: ----------------------------------------- I'm trying this with the 3.1.0-Snapshot but it is not working with the manifest goal. The variable bpHeader is always coming as null in my tests: {code} String bpHeader = analyzer.getProperty(Analyzer.SERVICE_COMPONENT); Parameters map = Processor.parseHeader(bpHeader, null); for (String root : map.keySet()) {code} could someone explain me the reason for try to get these property from analyzer instead the jar (dot) that was built by bnd as it is doing for metatypes? {code} // export metatype files from OSGI-INF/metatype Map<String,Resource> metatypeDir = jar.getDirectories().get(MetaTypeService.METATYPE_DOCUMENTS_LOCATION); {code} > Dump SCR component definitions broken > ------------------------------------- > > Key: FELIX-5116 > URL: https://issues.apache.org/jira/browse/FELIX-5116 > Project: Felix > Issue Type: Bug > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-3.0.0 > Reporter: Stefan Seifert > Assignee: Carsten Ziegeler > Fix For: maven-bundle-plugin-3.1.0 > > Attachments: FELIX-5116.patch > > > the feature to optionally dump SCR component definitions generated by bnd to > the output classes folder introduced in FELIX-3324 is broken ins > maven-bundle-plugin 3.0.0 and 3.0.1 - the associated code is never called > when generating the bundle or manifest. > the attached patch fixes this and enabled the behavior for both manifest and > bundle goals. > this feature is imporant for unit test support in IDEs, e.g. for > https://sling.apache.org/documentation/development/osgi-mock.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)