jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Baedke (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8798) Upgrade maven-bundle-plugin to 4.2.1
Date Tue, 03 Dec 2019 18:58:00 GMT

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

Manfred Baedke commented on OAK-8798:
-------------------------------------

[~reschke],

The following plugin config worked for me:
{code}
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>4.2.1</version>
                <configuration>
                    <instructions>
                        <Import-Package>
                            <!-- OAK-7182 -->${guava.osgi.import},
                            org.apache.lucene.*;resolution:=optional,
                            com.googlecode.*;resolution:=optional,
                            com.vividsolutions.jts.*;resolution:=optional,
                            com.sun.*;resolution:=optional,
                            jline;resolution:=optional,
                            org.apache.hadoop.*;resolution:=optional,
                            org.apache.regexp.*;resolution:=optional,
                            org.apache.log4j.*;resolution:=optional,
                            org.jboss.netty.*;resolution:=optional,
                            org.restlet.*;resolution:=optional,
                            org.joda.time.*;resolution:=optional,
                            org.eclipse.*;resolution:=optional,
                            javax.servlet.*;resolution:=optional,
                            com.tdunning.math.*;resolution:=optional,
                            com.codahale.metrics.*;resolution:=optional,
                            info.ganglia.gmetric4j.*;resolution:=optional,
                            org.apache.calcite.adapter.*;resolution:=optional,
                            org.apache.calcite.ling4j.*;resolution:=optional,
                            org.apache.calcite.rel.*;resolution:=optional,
                            org.apache.calcite.schema.*;resolution:=optional,
                            org.apache.calcite.sql.*;resolution:=optional,
                            org.apache.calcite.*;resolution:=optional,
                            org.apache.curator.framework.*;resolution:=optional,
                            org.apache.curator.*;resolution:=optional,
                            com.github.benmanes.caffeine.*;resolution:=optional,
                            com.ibm.security.krb5.internal.*;resolution:=optional,
                            org.apache.solr.handler.extraction.*;resolution:=optional,
                            sun.misc.*;resolution:=optional,
                            sun.security.krb5.*;resolution:=optional,
                            *
                        </Import-Package>
                        <Embed-Dependency>*;scope=runtime;inline=true</Embed-Dependency>
                        <Service-Component>
                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrQueryIndexProviderService.xml,
                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrServerProviderService.xml,
                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrIndexEditorProviderService.xml,
                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.EmbeddedSolrServerConfigurationProvider.xml,
                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.RemoteSolrServerConfigurationProvider.xml,
                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService.xml,
                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.NodeStateSolrServersObserverService.xml
                        </Service-Component>
                    </instructions>
                </configuration>
            </plugin>
 {code}
While I don't know why version 4.2.1 finds these additional dependencies, I think it's safe
to include them as optional (at least it seems safer than excluding them).

> Upgrade maven-bundle-plugin to 4.2.1
> ------------------------------------
>
>                 Key: OAK-8798
>                 URL: https://issues.apache.org/jira/browse/OAK-8798
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: parent
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>              Labels: candidate_oak_1_10
>             Fix For: 1.22.0
>
>         Attachments: OAK-8798.diff
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message