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

Andreas Veithen commented on SMX4-877:
--------------------------------------

This issue is basically invalid. The real problem is that the ServiceMix 
project has created Abdera bundles that are incorrectly packaged. If you look 
at the original bundles produced by the Abdera project, you can see that 
abdera-parser embeds axiom-api and axiom-impl (at least in the trunk, I didn't 
check the released versions). This means that abdera-parser doesn't import any 
Axiom packages. That is the correct way of doing things. On the other hand, the 
Abdera bundles from ServiceMix import packages from axiom-api (which would be 
OK) and axiom-impl (which is totally wrong, as explained in AXIOM-370).

I think that by repackaging the whole world and by creating custom bundles that 
violate the design principles of upstream projects, ServiceMix is not only not 
helping these communities to produce good bundles (as Dan said above), but 
actually acting against the interests of these communities. In the case of 
Axiom, I'm trying to promote a strict separation between the public API and 
implementation specific classes, and hiding these classes in the OSGi bundles 
is part of that strategy (although that was originally implemented by somebody 
else). If the ServiceMix project now publishes repackaged Axiom bundles that 
export these classes again and people start to use them outside of ServiceMix 
(which is the case for other repackaged bundles), then this is a bad thing for 
the progress of the Axiom project.
                
> create wrap bundle for axiom API and Impl 1.2.12
> ------------------------------------------------
>
>                 Key: SMX4-877
>                 URL: https://issues.apache.org/jira/browse/SMX4-877
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Bundles
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 4.4.0
>
>
> Axiom provides OSGi bundle, but there are some issues of these bundles
> * axiom-api exports the package without version
> * axiom-impl never exports the packages in its bundle
> If you are using the axiom-api and axiom-impl bundles with Abdera core in the 
> ServiceMix, you will hit the issue of class not found.

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

        

Reply via email to