<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
--> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-parent</artifactId> | |
<version>1.22.14</version> | |
<relativePath>../oak-parent/pom.xml</relativePath> | |
</parent> | |
<artifactId>oak-solr-osgi</artifactId> | |
<name>Oak Solr OSGi</name> | |
<description>Oak Solr OSGi support</description> | |
<packaging>bundle</packaging> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<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, | |
org.apache.solr.handler.extraction.*;resolution:=optional, | |
com.ibm.security.krb5.internal.*;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.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> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi.core</artifactId> | |
<scope>provided</scope> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi.compendium</artifactId> | |
<scope>provided</scope> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-core</artifactId> | |
<version>${project.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-solr-core</artifactId> | |
<version>${project.version}</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-search</artifactId> | |
<version>${project.version}</version> | |
<scope>runtime</scope> | |
</dependency> | |
<!-- Solr --> | |
<dependency> | |
<groupId>org.apache.solr</groupId> | |
<artifactId>solr-solrj</artifactId> | |
<version>${solr.version}</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>commons-lang</groupId> | |
<artifactId>commons-lang</artifactId> | |
<version>2.6</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>commons-cli</groupId> | |
<artifactId>commons-cli</artifactId> | |
<version>1.2</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpcore</artifactId> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpmime</artifactId> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.zookeeper</groupId> | |
<artifactId>zookeeper</artifactId> | |
<version>3.4.10</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> | |
<artifactId>jackson-core</artifactId> | |
<version><!-- see OAK-8829-->2.9.10</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.fasterxml.jackson.dataformat</groupId> | |
<artifactId>jackson-dataformat-smile</artifactId> | |
<version><!-- see OAK-8829-->2.9.10</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-exec</artifactId> | |
<version>1.3</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-math3</artifactId> | |
<version>3.6.1</version> | |
<scope>runtime</scope> | |
</dependency> | |
</dependencies> | |
</project> |