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

Ryan McKinley commented on LUCENE-1344:
---------------------------------------

I have not followed this patch and don't know how it works...  but this may be 
pretty easy to add to the (officially unsupported) maven build:
{code}
          <plugin>
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
              <version>1.4.0</version>
              <extensions>true</extensions>
              <configuration>
                  <instructions>
                      
<Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
                      <Bundle-Name>${pom.name}</Bundle-Name>
                      <Bundle-Version>${pom.version}</Bundle-Version>
                      
<Bundle-Activator>org.wso2.mbp.sample01.Activator</Bundle-Activator>
                      <Private-Package>org.wso2.mbp.sample01</Private-Package>
                  </instructions>
              </configuration>
          </plugin>
{code}

http://wso2.org/library/tutorials/develop-osgi-bundles-using-maven-bundle-plugin




> 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: general/build
>            Reporter: Nicolas Lalevée
>            Priority: Minor
>         Attachments: LUCENE-1344-3.0-branch.patch, 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, 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.
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