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

Jukka Zitting commented on LUCENE-3167:
---------------------------------------

We discussed this briefly with Tommaso and a few OSGi experts last week.

While adding bundle metadata to the Lucene jars is fairly straightforward to 
implement, doing so comes with a commitment to maintain correct semantic 
versioning at the package-level (see 
http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf). Without such a 
commitment the package version information will eventually become outdated and 
incorrect, which can lead to tricky problems for OSGi deployments. Most notably 
properly managed package versions will often *not* follow the main product 
version numbers, as even when backwards-incompatible changes is introduced in 
one package, another package might still remain unchanged.

The best incremental solution here could be to initially export only one or two 
key packages for which semantic version information can be maintained without 
too much overhead going forward. A good starting point could be something like 
a separate facade package for which stronger-than-usual backwards compatibility 
promises can be made. Once there's more OSGi experience in the core Lucene 
community, more packages can be exported to OSGi clients.

                
> Make lucene/solr a OSGI bundle through Ant
> ------------------------------------------
>
>                 Key: LUCENE-3167
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3167
>             Project: Lucene - Core
>          Issue Type: New Feature
>         Environment: bndtools
>            Reporter: Luca Stancapiano
>         Attachments: LUCENE-3167.patch, LUCENE-3167.patch, LUCENE-3167.patch, 
> lucene_trunk.patch, lucene_trunk.patch
>
>
> We need to make a bundle thriugh Ant, so the binary can be published and no 
> more need the download of the sources. Actually to get a OSGI bundle we need 
> to use maven tools and build the sources. Here the reference for the creation 
> of the OSGI bundle through Maven:
> https://issues.apache.org/jira/browse/LUCENE-1344
> Bndtools could be used inside Ant

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to