[
https://issues.apache.org/jira/browse/FELIX-5116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367563#comment-15367563
]
Stefan Seifert commented on FELIX-5116:
---------------------------------------
yes and yes
basically this is the parent pom i've used to test my projects:
https://github.com/wcm-io/wcm-io-tooling/blob/develop/maven/aem-global-parent/pom.xml
i've configured an explicit call to the manifest goal in the pom to have them
ready during the osgi-mock based unit tests, and that's before the bundle goal
is executed. it works fine for me on the command line and within eclipse with
m2e.
> 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.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)