You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Bram de Kruijff (JIRA)" <ji...@apache.org> on 2007/06/26 15:05:26 UTC

[jira] Created: (FELIX-313) The maven OSGi plugin should support archive configuration

The maven OSGi plugin should support archive configuration
----------------------------------------------------------

                 Key: FELIX-313
                 URL: https://issues.apache.org/jira/browse/FELIX-313
             Project: Felix
          Issue Type: Improvement
          Components: Maven OSGi Plugin (Deprecated)
            Reporter: Bram de Kruijff


The Maven OSGi plugin should support the maven archive configuration convention. My use-case is that I want to exclude pom.xml and pom.properties from the resulting jar file.

http://maven.apache.org/guides/mini/guide-archive-configuration.html


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


[jira] Closed: (FELIX-313) The maven OSGi plugin should support archive configuration

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

Bram de Kruijff closed FELIX-313.
---------------------------------


Richard, sorry for replying so late. I missed the fact that you already did apply it. Anyway, works fine. Thank you!

*issue closed*

> The maven OSGi plugin should support archive configuration
> ----------------------------------------------------------
>
>                 Key: FELIX-313
>                 URL: https://issues.apache.org/jira/browse/FELIX-313
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven OSGi Plugin (Deprecated)
>            Reporter: Bram de Kruijff
>            Assignee: Richard S. Hall
>         Attachments: felix-osgi-plugin-with-archive.patch
>
>
> The Maven OSGi plugin should support the maven archive configuration convention. My use-case is that I want to exclude pom.xml and pom.properties from the resulting jar file.
> http://maven.apache.org/guides/mini/guide-archive-configuration.html

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


[jira] Commented: (FELIX-313) The maven OSGi plugin should support archive configuration

Posted by "Bram de Kruijff (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508196 ] 

Bram de Kruijff commented on FELIX-313:
---------------------------------------

We haven't migrated to the bundle-plugin yet because the osgi-plugin has served us well so far :) 

Did a quick test and it seems that the bundle-plugin doesn't support this convention either. Looking at the code it seems it doesn't use the maven archiver at all so I don't have a patch for that at this time. Maybe it does support excluding in some other way?



> The maven OSGi plugin should support archive configuration
> ----------------------------------------------------------
>
>                 Key: FELIX-313
>                 URL: https://issues.apache.org/jira/browse/FELIX-313
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven OSGi Plugin (Deprecated)
>            Reporter: Bram de Kruijff
>         Attachments: felix-osgi-plugin-with-archive.patch
>
>
> The Maven OSGi plugin should support the maven archive configuration convention. My use-case is that I want to exclude pom.xml and pom.properties from the resulting jar file.
> http://maven.apache.org/guides/mini/guide-archive-configuration.html

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


[jira] Updated: (FELIX-313) The maven OSGi plugin should support archive configuration

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

Bram de Kruijff updated FELIX-313:
----------------------------------

    Attachment: felix-osgi-plugin-with-archive.patch

Attached a patch that adds this support. Note that the maven archiver 2.0 did not support the addMavenDescriptor property so I just upgraded it to the latest and greatest version 2.2.

> The maven OSGi plugin should support archive configuration
> ----------------------------------------------------------
>
>                 Key: FELIX-313
>                 URL: https://issues.apache.org/jira/browse/FELIX-313
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven OSGi Plugin (Deprecated)
>            Reporter: Bram de Kruijff
>         Attachments: felix-osgi-plugin-with-archive.patch
>
>
> The Maven OSGi plugin should support the maven archive configuration convention. My use-case is that I want to exclude pom.xml and pom.properties from the resulting jar file.
> http://maven.apache.org/guides/mini/guide-archive-configuration.html

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


[jira] Commented: (FELIX-313) The maven OSGi plugin should support archive configuration

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515765 ] 

Richard S. Hall commented on FELIX-313:
---------------------------------------

I am not sure if there is some way to do this in maven-bundle-plugin...

> The maven OSGi plugin should support archive configuration
> ----------------------------------------------------------
>
>                 Key: FELIX-313
>                 URL: https://issues.apache.org/jira/browse/FELIX-313
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven OSGi Plugin (Deprecated)
>            Reporter: Bram de Kruijff
>         Attachments: felix-osgi-plugin-with-archive.patch
>
>
> The Maven OSGi plugin should support the maven archive configuration convention. My use-case is that I want to exclude pom.xml and pom.properties from the resulting jar file.
> http://maven.apache.org/guides/mini/guide-archive-configuration.html

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


[jira] Commented: (FELIX-313) The maven OSGi plugin should support archive configuration

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508177 ] 

Richard S. Hall commented on FELIX-313:
---------------------------------------

We can likely apply this patch, but our ultimate goal is to eliminate maven-osgi-plugin...is this patch something that will also be necessary for maven-bundle-plugin? Is there some reason why you are not migrating to maven-bundle-plugin?

> The maven OSGi plugin should support archive configuration
> ----------------------------------------------------------
>
>                 Key: FELIX-313
>                 URL: https://issues.apache.org/jira/browse/FELIX-313
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven OSGi Plugin (Deprecated)
>            Reporter: Bram de Kruijff
>         Attachments: felix-osgi-plugin-with-archive.patch
>
>
> The Maven OSGi plugin should support the maven archive configuration convention. My use-case is that I want to exclude pom.xml and pom.properties from the resulting jar file.
> http://maven.apache.org/guides/mini/guide-archive-configuration.html

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


[jira] Resolved: (FELIX-313) The maven OSGi plugin should support archive configuration

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

Richard S. Hall resolved FELIX-313.
-----------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I have applied the patch. Bram, if everything is okay, please close this issue. Thanks.

> The maven OSGi plugin should support archive configuration
> ----------------------------------------------------------
>
>                 Key: FELIX-313
>                 URL: https://issues.apache.org/jira/browse/FELIX-313
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven OSGi Plugin (Deprecated)
>            Reporter: Bram de Kruijff
>            Assignee: Richard S. Hall
>         Attachments: felix-osgi-plugin-with-archive.patch
>
>
> The Maven OSGi plugin should support the maven archive configuration convention. My use-case is that I want to exclude pom.xml and pom.properties from the resulting jar file.
> http://maven.apache.org/guides/mini/guide-archive-configuration.html

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