| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>interpreter-parent</artifactId> |
| <groupId>org.apache.zeppelin</groupId> |
| <version>0.9.0-SNAPSHOT</version> |
| <relativePath>../interpreter-parent</relativePath> |
| </parent> |
| |
| <groupId>org.apache.zeppelin</groupId> |
| <artifactId>zeppelin-cassandra_2.10</artifactId> |
| <packaging>jar</packaging> |
| <version>0.9.0-SNAPSHOT</version> |
| <name>Zeppelin: Apache Cassandra interpreter</name> |
| <description>Zeppelin cassandra support</description> |
| |
| <properties> |
| <cassandra.driver.version>3.0.1</cassandra.driver.version> |
| <snappy.version>1.0.5.4</snappy.version> |
| <lz4.version>1.3.0</lz4.version> |
| <commons-lang.version>3.3.2</commons-lang.version> |
| <scalate.version>1.7.1</scalate.version> |
| <cassandra.guava.version>16.0.1</cassandra.guava.version> |
| |
| <!-- test library versions --> |
| <achilles.version>3.2.4-Zeppelin</achilles.version> |
| <jna.version>4.2.0</jna.version> |
| |
| <!-- plugin versions --> |
| <plugin.scala.version>2.15.2</plugin.scala.version> |
| <plugin.scalatest.version>1.0</plugin.scalatest.version> |
| <plugin.scalate.version>1.7.1</plugin.scalate.version> |
| <interpreter.name>cassandra</interpreter.name> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>zeppelin-interpreter</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.datastax.cassandra</groupId> |
| <artifactId>cassandra-driver-core</artifactId> |
| <version>${cassandra.driver.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${cassandra.guava.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>net.jpountz.lz4</groupId> |
| <artifactId>lz4</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> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>${commons-lang.version}</version> |
| </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>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.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>info.archinnov</groupId> |
| <artifactId>achilles-embedded</artifactId> |
| <version>${achilles.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.java.dev.jna</groupId> |
| <artifactId>jna</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> |
| <plugins> |
| <!-- Plugin to compile Scala code --> |
| <plugin> |
| <groupId>org.scala-tools</groupId> |
| <artifactId>maven-scala-plugin</artifactId> |
| <version>${plugin.scala.version}</version> |
| <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> |
| <version>${plugin.scalatest.version}</version> |
| <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> |
| <version>${plugin.scalate.version}</version> |
| <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> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <skip>false</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| </build> |
| </project> |