lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] Commented: (LUCENE-1344) Make the Lucene jar an OSGi bundle
Date Fri, 19 Sep 2008 09:18:44 GMT

    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message