| <?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> |
| <groupId>org.apache.griffin</groupId> |
| <artifactId>griffin</artifactId> |
| <version>0.2.0-incubating-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>measure</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Apache Griffin :: Measures</name> |
| <url>http://maven.apache.org</url> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| |
| <scala.version>2.11.8</scala.version> |
| <spark.version>2.2.1</spark.version> |
| <scala.binary.version>2.11</scala.binary.version> |
| |
| <avro.version>1.7.7</avro.version> |
| <jackson.version>2.8.7</jackson.version> |
| <scalaj.version>2.3.0</scalaj.version> |
| <mongo.version>2.1.0</mongo.version> |
| <junit.version>4.11</junit.version> |
| <scalatest.version>3.0.0</scalatest.version> |
| <slf4j.version>1.7.21</slf4j.version> |
| <log4j.version>1.2.16</log4j.version> |
| <curator.version>2.10.0</curator.version> |
| <scalamock.version>3.6.0</scalamock.version> |
| <spark.testing.version>0.9.0</spark.testing.version> |
| </properties> |
| |
| <dependencies> |
| <!--scala--> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <version>${scala.version}</version> |
| </dependency> |
| |
| <!--spark, spark streaming, spark hive--> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_${scala.binary.version}</artifactId> |
| <version>${spark.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-streaming_${scala.binary.version}</artifactId> |
| <version>${spark.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-hive_${scala.binary.version}</artifactId> |
| <version>${spark.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-streaming-kafka-0-8_${scala.binary.version}</artifactId> |
| <version>${spark.version}</version> |
| </dependency> |
| |
| <!--jackson--> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.module</groupId> |
| <artifactId>jackson-module-scala_${scala.binary.version}</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| |
| <!--scalaj for http request--> |
| <dependency> |
| <groupId>org.scalaj</groupId> |
| <artifactId>scalaj-http_${scala.binary.version}</artifactId> |
| <version>${scalaj.version}</version> |
| </dependency> |
| |
| <!--mongo request--> |
| <dependency> |
| <groupId>org.mongodb.scala</groupId> |
| <artifactId>mongo-scala-driver_2.11</artifactId> |
| <version>${mongo.version}</version> |
| </dependency> |
| |
| <!--avro--> |
| <dependency> |
| <groupId>com.databricks</groupId> |
| <artifactId>spark-avro_${scala.binary.version}</artifactId> |
| <version>4.0.0</version> |
| </dependency> |
| |
| <!--log4j--> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <!--<dependency>--> |
| <!--<groupId>org.slf4j</groupId>--> |
| <!--<artifactId>slf4j-simple</artifactId>--> |
| <!--<version>${slf4j.version}</version>--> |
| <!--</dependency>--> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| |
| <!--curator--> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-recipes</artifactId> |
| <version>${curator.version}</version> |
| </dependency> |
| |
| <!--junit--> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!--scala test--> |
| <dependency> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest_${scala.binary.version}</artifactId> |
| <version>${scalatest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!--scala mock--> |
| <dependency> |
| <groupId>org.scalamock</groupId> |
| <artifactId>scalamock-scalatest-support_${scala.binary.version}</artifactId> |
| <version>${scalamock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!--spark testing--> |
| <dependency> |
| <groupId>com.holdenkarau</groupId> |
| <artifactId>spark-testing-base_${scala.binary.version}</artifactId> |
| <version>${spark.version}_${spark.testing.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <version>3.3.1</version> |
| <executions> |
| <execution> |
| <id>compile</id> |
| <goals> |
| <goal>compile</goal> |
| <goal>testCompile</goal> |
| </goals> |
| <phase>compile</phase> |
| </execution> |
| </executions> |
| <configuration> |
| <scalaVersion>${scala.version}</scalaVersion> |
| </configuration> |
| </plugin> |
| <!-- enable scalatest --> |
| <plugin> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest-maven-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <id>test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.5.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| <appendAssemblyId>false</appendAssemblyId> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |