342 lines
12 KiB
XML
342 lines
12 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>atlas-graphdb</artifactId>
|
|
<groupId>org.apache.atlas</groupId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>atlas-graphdb-janus</artifactId>
|
|
<description>Apache Atlas JanusGraph DB Impl</description>
|
|
<name>Apache Atlas JanusGraph DB Impl</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<!-- This POM file produces a jar with everything that Atlas needs to use JanusGraph.
|
|
Some dependencies, like slf4j are excluded from the jar because they are included in Atlas -->
|
|
|
|
<properties>
|
|
<checkstyle.failOnViolation>false</checkstyle.failOnViolation>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.atlas</groupId>
|
|
<artifactId>atlas-graphdb-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.atlas</groupId>
|
|
<artifactId>atlas-graphdb-api</artifactId>
|
|
<!-- set scope to provided to prevent the this from being included in the shared jar -->
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.atlas</groupId>
|
|
<artifactId>atlas-testtools</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-configuration2</artifactId>
|
|
<version>${commons-conf2.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-text</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-text</artifactId>
|
|
<version>${commons-text.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-server</artifactId>
|
|
<version>${janusgraph.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.codahale.metrics</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>gremlin-shaded</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>gremlin-server</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>gremlin-groovy</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>gremlin-driver</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.noggit</groupId>
|
|
<artifactId>noggit</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-berkeleyje</artifactId>
|
|
<version>${janusgraph.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-cassandra</artifactId>
|
|
<version>${janusgraph.cassandra.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.codahale.metrics</groupId>
|
|
<artifactId>metrics-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-cql</artifactId>
|
|
<version>${janusgraph.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
|
<version>${elasticsearch.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-es</artifactId>
|
|
<version>${janusgraph.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-hbase</artifactId>
|
|
<version>${janusgraph.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-solr</artifactId>
|
|
<version>${janusgraph.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.solr</groupId>
|
|
<artifactId>solr-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.janusgraph</groupId>
|
|
<artifactId>janusgraph-lucene</artifactId>
|
|
<version>${janusgraph.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-backward-codecs</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.solr</groupId>
|
|
<artifactId>solr-solrj</artifactId>
|
|
<version>${solr.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
<artifactId>zookeeper-jute</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- CVE Overrides for Lucene -->
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-core</artifactId>
|
|
<version>${lucene-solr.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-analyzers-common</artifactId>
|
|
<version>${lucene-solr.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-queryparser</artifactId>
|
|
<version>${lucene-solr.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.lucene</groupId>
|
|
<artifactId>lucene-spatial-extras</artifactId>
|
|
<version>${lucene-solr.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.databind.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>gremlin-core</artifactId>
|
|
<version>${tinkerpop.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-configuration2</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>gremlin-util</artifactId>
|
|
<version>${tinkerpop.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>gremlin-groovy</artifactId>
|
|
<version>${tinkerpop.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tinkerpop</groupId>
|
|
<artifactId>tinkergraph-gremlin</artifactId>
|
|
<version>${tinkerpop.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.atlas</groupId>
|
|
<artifactId>atlas-graphdb-common</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>tests</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${surefire.version}</version>
|
|
<configuration>
|
|
<skip>${skipUTs}</skip>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-resources</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/solr</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/../../test-tools/src/main/resources/solr</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|