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

Łukasz Dywicki commented on OLTU-134:
-------------------------------------

Please consider changing Bundle-Name header to ${project.name} as it is 
considered as human "name" of module, now it's same as artifactId and 
Bundle-SymbolicName. _removeheaders may contain also 
Include-Resource,Ignore-Package which are unecessary information.

> Broken OSGi metadata
> --------------------
>
>                 Key: OLTU-134
>                 URL: https://issues.apache.org/jira/browse/OLTU-134
>             Project: Apache Oltu
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.31
>            Reporter: Łukasz Dywicki
>              Labels: osgi
>         Attachments: OLTU-134.patch
>
>
> Currently Oltu uses maven-bundle-plugin to generate manifest entries and 
> maven jar plugin to add some extra headers. This approach is error prone 
> because same thing is done in two different places and OSGi headers may be 
> easily broken if there is no tests deploying these jars in framework.
> Switching packaging type to bundle allows to use only one place to generate 
> manifest entries, including also these custom, and adds validation phase in 
> build to verify if all headers are just fine.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to