[jira] [Commented] (FELIX-5116) maven-bundle-plugin: Dump SCR component definitions broken

2015-11-24 Thread Stefan Seifert (JIRA)

[ 
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)


[jira] [Commented] (FELIX-5116) maven-bundle-plugin: Dump SCR component definitions broken

2015-11-23 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler commented on FELIX-5116:
-

[~sseif...@pro-vision.de] Do I understand the issue correctly, that the SCR 
annotations are processed and the definitions are in the final jar, but they do 
not appear within the output directory?

> 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)