You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/03/04 12:10:40 UTC

[jira] Created: (FELIX-506) scr-plugin-generated resources not always bundled

scr-plugin-generated resources not always bundled
-------------------------------------------------

                 Key: FELIX-506
                 URL: https://issues.apache.org/jira/browse/FELIX-506
             Project: Felix
          Issue Type: Bug
          Components: Maven SCR Plugin
    Affects Versions: 1.0.3
            Reporter: Felix Meschberger
            Assignee: Carsten Ziegeler


Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.

Workaround is to manually include the resources as in:

    <Include-Resource>
        {maven-resources},target/scr-plugin-generated
    </Include-Resource>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (FELIX-506) scr-plugin-generated resources not always bundled

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

Work on FELIX-506 started by Carsten Ziegeler.

> scr-plugin-generated resources not always bundled
> -------------------------------------------------
>
>                 Key: FELIX-506
>                 URL: https://issues.apache.org/jira/browse/FELIX-506
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: 1.0.3
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>
> Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.
> Workaround is to manually include the resources as in:
>     <Include-Resource>
>         {maven-resources},target/scr-plugin-generated
>     </Include-Resource>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-506) scr-plugin-generated resources not always bundled

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

Carsten Ziegeler updated FELIX-506:
-----------------------------------

    Fix Version/s: 1.0.4

> scr-plugin-generated resources not always bundled
> -------------------------------------------------
>
>                 Key: FELIX-506
>                 URL: https://issues.apache.org/jira/browse/FELIX-506
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: 1.0.3
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: 1.0.4
>
>
> Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.
> Workaround is to manually include the resources as in:
>     <Include-Resource>
>         {maven-resources},target/scr-plugin-generated
>     </Include-Resource>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-506) scr-plugin-generated resources not always bundled

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

Felix Meschberger closed FELIX-506.
-----------------------------------


Thanks for fixing. This works for me.

> scr-plugin-generated resources not always bundled
> -------------------------------------------------
>
>                 Key: FELIX-506
>                 URL: https://issues.apache.org/jira/browse/FELIX-506
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: 1.0.3
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>
> Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.
> Workaround is to manually include the resources as in:
>     <Include-Resource>
>         {maven-resources},target/scr-plugin-generated
>     </Include-Resource>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-506) scr-plugin-generated resources not always bundled

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

Carsten Ziegeler updated FELIX-506:
-----------------------------------

    Affects Version/s:     (was: felix-1.0.3)
                       maven-scr-plugin-1.0.3
        Fix Version/s:     (was: felix-1.0.4)
                       maven-scr-plugin-1.0.4

> scr-plugin-generated resources not always bundled
> -------------------------------------------------
>
>                 Key: FELIX-506
>                 URL: https://issues.apache.org/jira/browse/FELIX-506
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.0.3
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin-1.0.4
>
>
> Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.
> Workaround is to manually include the resources as in:
>     <Include-Resource>
>         {maven-resources},target/scr-plugin-generated
>     </Include-Resource>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-506) scr-plugin-generated resources not always bundled

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

Carsten Ziegeler resolved FELIX-506.
------------------------------------

    Resolution: Fixed

> scr-plugin-generated resources not always bundled
> -------------------------------------------------
>
>                 Key: FELIX-506
>                 URL: https://issues.apache.org/jira/browse/FELIX-506
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: 1.0.3
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>
> Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.
> Workaround is to manually include the resources as in:
>     <Include-Resource>
>         {maven-resources},target/scr-plugin-generated
>     </Include-Resource>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.