| <?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>zeppelin-interpreter-parent</artifactId> |
| <groupId>org.apache.zeppelin</groupId> |
| <version>0.10.1-SNAPSHOT</version> |
| <relativePath>../zeppelin-interpreter-parent/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>zeppelin-cassandra</artifactId> |
| <packaging>jar</packaging> |
| <name>Zeppelin: Apache Cassandra interpreter</name> |
| <description>Zeppelin cassandra support</description> |
| |
| <properties> |
| <cassandra.driver.version>4.8.0</cassandra.driver.version> |
| <snappy.version>1.1.7.3</snappy.version> |
| <lz4.version>1.6.0</lz4.version> |
| <scalate.version>1.7.1</scalate.version> |
| |
| <!-- test library versions --> |
| <jna.version>4.2.0</jna.version> |
| <cassandra.unit.version>4.3.1.0</cassandra.unit.version> |
| |
| <interpreter.name>cassandra</interpreter.name> |
| </properties> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.zeppelin</groupId> |
| <artifactId>zeppelin-interpreter</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.datastax.oss</groupId> |
| <artifactId>java-driver-core</artifactId> |
| <version>${cassandra.driver.version}</version> |
| </dependency> |
| |
| <!-- Compression libraries for the cassandra-driver protocol. --> |
| <!-- Include both compression options to make to simplify deployment. --> |
| |
| <dependency> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| <version>${snappy.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.lz4</groupId> |
| <artifactId>lz4-java</artifactId> |
| <version>${lz4.version}</version> |
| </dependency> |
| |
| <!-- End of compression libraries --> |
| |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-compiler</artifactId> |
| <version>${scala.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <version>${scala.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-reflect</artifactId> |
| <version>${scala.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <!-- we'll switch back to it after removing support for Scala 2.10 |
| <dependency> |
| <groupId>org.scala-lang.modules</groupId> |
| <artifactId>scala-java8-compat_${scala.binary.version}</artifactId> |
| <version>${scala.java8.compat.version}</version> |
| </dependency> --> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.scalatra.scalate</groupId> |
| <artifactId>scalate-core_${scala.binary.version}</artifactId> |
| <version>${scalate.version}</version> |
| </dependency> |
| |
| <!-- test libraries --> |
| <dependency> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest_${scala.binary.version}</artifactId> |
| <version>${scalatest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.java.dev.jna</groupId> |
| <artifactId>jna</artifactId> |
| <version>${jna.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.cassandraunit</groupId> |
| <artifactId>cassandra-unit</artifactId> |
| <version>${cassandra.unit.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.datastax.oss</groupId> |
| <artifactId>java-driver-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources-filtered</directory> |
| <filtering>true</filtering> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <!-- Plugin to compile Scala code --> |
| <plugin> |
| <groupId>org.scala-tools</groupId> |
| <artifactId>maven-scala-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>compile</id> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <phase>compile</phase> |
| </execution> |
| <execution> |
| <id>test-compile</id> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| <phase>test-compile</phase> |
| </execution> |
| <execution> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.scalatra.scalate</groupId> |
| <artifactId>maven-scalate-plugin_${scala.binary.version}</artifactId> |
| <executions> |
| <execution> |
| <id>compile</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>precompile</goal> |
| </goals> |
| <configuration> |
| <resourcesSourceDirectory>${basedir}/src/main/resources/scalate</resourcesSourceDirectory> |
| <contextClass>org.fusesource.scalate.DefaultRenderContext</contextClass> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <skip>false</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| </build> |
| </project> |