You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Ivan Dubrov (Created) (JIRA)" <ji...@apache.org> on 2012/01/28 02:53:10 UTC

[jira] [Created] (FELIX-3324) Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd

Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd
-------------------------------------------------------------------------------------

                 Key: FELIX-3324
                 URL: https://issues.apache.org/jira/browse/FELIX-3324
             Project: Felix
          Issue Type: Improvement
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-2.3.6
            Reporter: Ivan Dubrov
         Attachments: export-scr.patch

maven-bundle-plugin allows dumping generated MANIFEST.MF, but does not allow dumping SCR component definitions generated by the bnd (based on the component annotations). For example, this could be useful if you need those files to run the OSGi framework from the IDE without packaging everything. "unpackBundle" allows achieving the desired behaviour, but it could be too heavy for large bundles.

I suggest adding two properties to the plugin, "exportScr" to enable SCR definitions export and "scrLocation" to specify directory to dump those definitions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FELIX-3324) Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd

Posted by "Björn Pollex (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13275789#comment-13275789 ] 

Björn Pollex commented on FELIX-3324:
-------------------------------------

Isn't this addressing almost the same issue as FELIX-3277? Also, I would like it if the {{manifest}}-goal would bind to the {{generate-resources}}-phase by default, because that is what it does.
                
> Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3324
>                 URL: https://issues.apache.org/jira/browse/FELIX-3324
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.6
>            Reporter: Ivan Dubrov
>         Attachments: export-scr.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> maven-bundle-plugin allows dumping generated MANIFEST.MF, but does not allow dumping SCR component definitions generated by the bnd (based on the component annotations). For example, this could be useful if you need those files to run the OSGi framework from the IDE without packaging everything. "unpackBundle" allows achieving the desired behaviour, but it could be too heavy for large bundles.
> I suggest adding two properties to the plugin, "exportScr" to enable SCR definitions export and "scrLocation" to specify directory to dump those definitions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (FELIX-3324) Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd

Posted by "Ivan Dubrov (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Dubrov updated FELIX-3324:
-------------------------------

    Attachment: export-scr.patch

sample implementation
                
> Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3324
>                 URL: https://issues.apache.org/jira/browse/FELIX-3324
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.6
>            Reporter: Ivan Dubrov
>         Attachments: export-scr.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> maven-bundle-plugin allows dumping generated MANIFEST.MF, but does not allow dumping SCR component definitions generated by the bnd (based on the component annotations). For example, this could be useful if you need those files to run the OSGi framework from the IDE without packaging everything. "unpackBundle" allows achieving the desired behaviour, but it could be too heavy for large bundles.
> I suggest adding two properties to the plugin, "exportScr" to enable SCR definitions export and "scrLocation" to specify directory to dump those definitions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (FELIX-3324) Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd

Posted by "Björn Pollex (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13275789#comment-13275789 ] 

Björn Pollex edited comment on FELIX-3324 at 5/15/12 2:21 PM:
--------------------------------------------------------------

Isn't this addressing almost the same issue as FELIX-3277? Also, I would like it if the manifest-goal would bind to the generate-resources-phase by default, because that is what it does.
                
      was (Author: bjoernpollex):
    Isn't this addressing almost the same issue as FELIX-3277? Also, I would like it if the {{manifest}}-goal would bind to the {{generate-resources}}-phase by default, because that is what it does.
                  
> Allow maven-bundle-plugin:manifest to dump SCR component definitions generated by bnd
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-3324
>                 URL: https://issues.apache.org/jira/browse/FELIX-3324
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.6
>            Reporter: Ivan Dubrov
>         Attachments: export-scr.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> maven-bundle-plugin allows dumping generated MANIFEST.MF, but does not allow dumping SCR component definitions generated by the bnd (based on the component annotations). For example, this could be useful if you need those files to run the OSGi framework from the IDE without packaging everything. "unpackBundle" allows achieving the desired behaviour, but it could be too heavy for large bundles.
> I suggest adding two properties to the plugin, "exportScr" to enable SCR definitions export and "scrLocation" to specify directory to dump those definitions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira