felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seifert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5116) maven-bundle-plugin: Dump SCR component definitions broken
Date Tue, 24 Nov 2015 08:48:11 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024017#comment-15024017
] 

Stefan Seifert commented on FELIX-5116:
---------------------------------------

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)

Mime
View raw message