| <!-- |
| ~ 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"> |
| <parent> |
| <artifactId>ambari-metrics</artifactId> |
| <groupId>org.apache.ambari</groupId> |
| <version>2.0.0.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>ambari-metrics-spark</artifactId> |
| <version>2.0.0.0-SNAPSHOT</version> |
| <properties> |
| <scala.version>2.10.4</scala.version> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>scala-tools.org</id> |
| <name>Scala-Tools Maven2 Repository</name> |
| <url>http://scala-tools.org/repo-releases</url> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>scala-tools.org</id> |
| <name>Scala-Tools Maven2 Repository</name> |
| <url>http://scala-tools.org/repo-releases</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <version>${scala.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.4</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.specs</groupId> |
| <artifactId>specs</artifactId> |
| <version>1.2.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_2.10</artifactId> |
| <version>1.6.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-sql_2.10</artifactId> |
| <version>1.6.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-spark</artifactId> |
| <version>4.7.0-HBase-1.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ambari</groupId> |
| <artifactId>ambari-metrics-alertservice</artifactId> |
| <version>2.0.0.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api-scala_2.10</artifactId> |
| <version>2.8.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-mllib_2.10</artifactId> |
| <version>2.1.1</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>src/main/scala</sourceDirectory> |
| <plugins> |
| <plugin> |
| <groupId>org.scala-tools</groupId> |
| <artifactId>maven-scala-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <scalaVersion>${scala.version}</scalaVersion> |
| <args> |
| <arg>-target:jvm-1.5</arg> |
| </args> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <buildcommands> |
| <buildcommand>ch.epfl.lamp.sdt.core.scalabuilder</buildcommand> |
| </buildcommands> |
| <additionalProjectnatures> |
| <projectnature>ch.epfl.lamp.sdt.core.scalanature</projectnature> |
| </additionalProjectnatures> |
| <classpathContainers> |
| <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> |
| <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer> |
| </classpathContainers> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.scala-tools</groupId> |
| <artifactId>maven-scala-plugin</artifactId> |
| <configuration> |
| <scalaVersion>${scala.version}</scalaVersion> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |