| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.griffin</groupId> |
| <artifactId>griffin-parent</artifactId> |
| <version>0.1.5-incubating-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>service</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Apache Griffin :: Web Service</name> |
| |
| <properties> |
| <java.version>1.8</java.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <hadoop.version>2.6.0</hadoop.version> |
| <hive.version>1.2.1</hive.version> |
| <scala.version>2.10</scala.version> |
| <spring.boot.version>1.5.1.RELEASE</spring.boot.version> |
| <spring.version>4.3.2.RELEASE</spring.version> |
| <confluent.version>3.2.0</confluent.version> |
| <quartz.version>2.2.1</quartz.version> |
| <start-class>org.apache.griffin.core.GriffinWebApplication</start-class> |
| <powermock.version>1.6.6</powermock.version> |
| <mockito.version>1.10.19</mockito.version> |
| <spring-boot-maven-plugin.version>1.5.1.RELEASE</spring-boot-maven-plugin.version> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>confluent</id> |
| <url>http://packages.confluent.io/maven/</url> |
| </repository> |
| </repositories> |
| |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring.boot.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-data-jpa</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.retry</groupId> |
| <artifactId>spring-retry</artifactId> |
| <version>1.1.5.RELEASE</version> |
| </dependency> |
| |
| <!--dev db--> |
| |
| <!--<dependency>--> |
| <!--<groupId>com.h2database</groupId>--> |
| <!--<artifactId>h2</artifactId>--> |
| <!--</dependency>--> |
| |
| |
| <!--prod db--> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>2.6.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.8.0</version> |
| </dependency> |
| <!-- to access metastore from hive--> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${hadoop.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>servlet-api</artifactId> |
| <groupId>javax.servlet</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| <version>${hive.version}</version> |
| </dependency> |
| |
| <!-- to access confluent schema registry --> |
| <dependency> |
| <groupId>io.confluent</groupId> |
| <artifactId>kafka-schema-registry-client</artifactId> |
| <version>${confluent.version}</version> |
| </dependency> |
| |
| <!--schedule--> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context-support</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>2.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz-jobs</artifactId> |
| <version>2.2.2</version> |
| </dependency> |
| |
| <!-- test --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>${powermock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>${powermock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| |
| </dependencies> |
| <profiles> |
| </profiles> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| <version>${spring-boot-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>repackage</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.6.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| |
| </plugin> |
| </plugins> |
| </build> |
| </project> |