[ https://issues.apache.org/jira/browse/FELIX-5116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024017#comment-15024017 ]
Stefan Seifert edited comment on FELIX-5116 at 11/24/15 8:48 AM: ----------------------------------------------------------------- yes, correctly. they are packed directly in the JAR file by bnd, but do not appear in the target/classes directory as it was/is the case with felix SCR annotations and the maven SCR plugin (and even the SCR BND plugin). this code (which was alread developed in FELIX-3324, but broken) unpacks those XML files again and stores them in the target/classes directory (if enabled via maven configuration parameters on goals bundle or manifest). was (Author: sseif...@pro-vision.de): yes, correctly. they are packed directly in the JAR file by maven-bundle-plugin, but do not appear in the target/classes directory as it was/is the case with felix SCR annotations and the maven SCR plugin (and even the SCR BND plugin). this code (which was alread developed in FELIX-3324, but broken) unpacks those XML files again and stores them in the target/classes directory (if enabled via maven configuration parameters on goals bundle or manifest). > maven-bundle-plugin: 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 > Fix For: maven-bundle-plugin-3.0.2 > > 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)