[hibernate-issues] [Hibernate-JIRA] Commented: (HV-267) Enhance distribution jar to make it OSGi bundle

Jaro Kuruc (JIRA) noreply at atlassian.com
Fri Nov 6 07:33:08 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34470#action_34470 ] 

Jaro Kuruc commented on HV-267:
-------------------------------

Hi

I have read all the comments in HV-90, but with all due respect, I don't think there was any strong argument for shading even then.

An argument that it's just 12 classes is simply not relevant. It goes against the modularity principle and losing an option to switch to bug-fixed version just to save one more runtime dependency (5 vs. 6), especially in maven days where the dependencies are transitively managed, does not withstand.

That time, there may not have been any official binary release. But that's not true anymore, there are two now.

I hope you will reconsider. Thanks.

> Enhance distribution jar to make it OSGi bundle
> -----------------------------------------------
>
>                 Key: HV-267
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-267
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 4.0.1.GA
>            Reporter: Jaro Kuruc
>             Fix For: 4.1.0
>
>         Attachments: maven-bundle-plugin.patch
>
>
> Hi, please consider enhancing validator's maven build to produce OSGi compliant bundle by adding OSGi specific manifest headers. At the moment, there are 2 options to do that:
> 1. Felix Bundle Plugin
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
> 2. SpringSource Bundlor
> http://static.springsource.org/s2-bundlor/1.0.x/user-guide/html/ch03s03.html
> Also, take a look at the bundle which has been produced by SpringSource
> http://www.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.hibernate.validator&version=4.0.0.GA

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list