2013-01-20 22:22:24 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-07-16 20:21:33 -04:00
|
|
|
<!--
|
|
|
|
~ 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.
|
|
|
|
-->
|
|
|
|
|
2013-01-20 22:22:24 -05:00
|
|
|
<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>
|
2013-08-31 22:27:07 -04:00
|
|
|
<groupId>org.apache.spark</groupId>
|
2013-03-15 14:41:51 -04:00
|
|
|
<artifactId>spark-parent</artifactId>
|
2014-06-05 14:27:33 -04:00
|
|
|
<version>1.1.0-SNAPSHOT</version>
|
2013-01-20 22:22:24 -05:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
2013-08-31 22:27:07 -04:00
|
|
|
<groupId>org.apache.spark</groupId>
|
2013-12-07 02:15:57 -05:00
|
|
|
<artifactId>spark-streaming_2.10</artifactId>
|
2013-01-20 22:22:24 -05:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Spark Project Streaming</name>
|
2014-03-02 04:00:16 -05:00
|
|
|
<url>http://spark.apache.org/</url>
|
2013-01-20 22:22:24 -05:00
|
|
|
|
|
|
|
<dependencies>
|
2013-08-15 15:10:31 -04:00
|
|
|
<dependency>
|
2013-08-31 22:27:07 -04:00
|
|
|
<groupId>org.apache.spark</groupId>
|
2013-12-15 15:39:58 -05:00
|
|
|
<artifactId>spark-core_${scala.binary.version}</artifactId>
|
2013-08-15 15:10:31 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2013-01-20 22:22:24 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
</dependency>
|
2013-07-08 18:38:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-library</artifactId>
|
|
|
|
</dependency>
|
2013-01-20 22:22:24 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.scalatest</groupId>
|
2013-12-15 15:39:58 -05:00
|
|
|
<artifactId>scalatest_${scala.binary.version}</artifactId>
|
2013-01-20 22:22:24 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scalacheck</groupId>
|
2013-12-15 15:39:58 -05:00
|
|
|
<artifactId>scalacheck_${scala.binary.version}</artifactId>
|
2013-01-20 22:22:24 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.novocode</groupId>
|
|
|
|
<artifactId>junit-interface</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
2013-12-15 15:39:58 -05:00
|
|
|
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
|
|
|
|
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
|
2013-01-20 22:22:24 -05:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.scalatest</groupId>
|
|
|
|
<artifactId>scalatest-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2013-12-31 03:28:57 -05:00
|
|
|
|
|
|
|
<!--
|
|
|
|
This plugin forces the generation of jar containing streaming test classes,
|
|
|
|
so that the tests classes of external modules can use them. The two execution profiles
|
|
|
|
are necessary - first one for 'mvn package', second one for 'mvn compile'. Ideally,
|
|
|
|
'mvn compile' should not compile test classes and therefore should not need this.
|
|
|
|
However, an open Maven bug (http://jira.codehaus.org/browse/MNG-3559)
|
|
|
|
causes the compilation to fail if streaming test-jar is not generated. Hence, the
|
|
|
|
second execution profile for 'mvn compile'.
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>test-jar-on-compile</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-01-20 22:22:24 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|