[ https://issues.apache.org/jira/browse/LUCENE-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632593#action_12632593 ]
Nicolas Lalevée commented on LUCENE-1344: ----------------------------------------- bq. Nicholas, we generate different JARs for OSGi because I don't like to mix and match things. OSGi should be separated from Maven. Maven is about building and resolving dependencies, OSGi is about a running environement. And they can be mixed with no worry, it even exists [a maven plugin|http://felix.apache.org/site/apache-felix-maven-osgi-plugin.html] to handle OSGi headers, and a [maven repository|http://www.springsource.com/repository] full of OSGi bundles. bq. They are different. For example, in OSGi it's a good practice to name the JAR like the bundle symbolic name and to include the version. Otherwise you'll run into problems because bundle repositories are usually not hierarchically organized like Maven repos. I don't think the purpose here is to make Lucene have its own OSGi repository. And nothing here prevents you to build a pure OSGi repository with those jars with the name convention you like. > Make the Lucene jar an OSGi bundle > ---------------------------------- > > Key: LUCENE-1344 > URL: https://issues.apache.org/jira/browse/LUCENE-1344 > Project: Lucene - Java > Issue Type: Improvement > Components: Build > Reporter: Nicolas Lalevée > Assignee: Michael McCandless > Attachments: LUCENE-1344-r679133.patch, LUCENE-1344-r690675.patch, > LUCENE-1344-r690691.patch, LUCENE-1344-r696747.patch, LUCENE-1344.patch, > LUCENE-1344.patch, LUCENE-1344.patch, LUCENE-1344.patch, LUCENE-1344.patch, > MANIFEST.MF.diff > > > In order to use Lucene in an OSGi environment, some additional headers are > needed in the manifest of the jar. As Lucene has no dependency, it is pretty > straight forward and it ill be easy to maintain I think. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]