| <?xml version="1.0" encoding="UTF-8"?> |
| <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/xsd/maven-4.0.0.xsd"> |
| |
| <!-- |
| |
| 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.karaf.decanter</groupId> |
| <artifactId>backend</artifactId> |
| <version>2.3.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.karaf.decanter</groupId> |
| <artifactId>org.apache.karaf.decanter.elasticsearch-5.x</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache Karaf :: Decanter :: Backend :: Elasticsearch 5.x</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.elasticsearch</groupId> |
| <artifactId>elasticsearch</artifactId> |
| <version>${elasticsearch5.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.elasticsearch</groupId> |
| <artifactId>jna</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.elasticsearch.plugin</groupId> |
| <artifactId>transport-netty4-client</artifactId> |
| <version>${elasticsearch5.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>2.9.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-backward-codecs</artifactId> |
| <version>6.6.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Private-Package> |
| org.apache.karaf.decanter.elasticsearch, |
| org.elasticsearch*, |
| com.carrotsearch.hppc*, |
| joptsimple*, |
| org.apache.lucene*, |
| com.tdunning.math.stats, |
| com.vividsolutions.jts.geom, |
| org.HdrHistogram, |
| org.locationtech.spatial4j*, |
| org.tartarus.snowball*, |
| org.joda.time*, |
| org.joda.convert*, |
| !META-INF.services.org.apache.lucene.codecs.Codec, |
| META-INF.services.* |
| </Private-Package> |
| <Import-Package> |
| !com.vividsolutions.jts.geom, |
| !org.locationtech.spatial4j*, |
| !org.joda.time*, |
| !org.joda.convert*, |
| com.sun.jna*;resolution:=optional, |
| org.apache.logging.log4j*;version="[2.8,3)", |
| * |
| </Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file>src/main/cfg/elasticsearch.yml</file> |
| <type>yml</type> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |