2012-11-20 18:50:07 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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.spark-project</groupId>
|
|
|
|
<artifactId>parent</artifactId>
|
2012-11-27 20:50:42 -05:00
|
|
|
<version>0.7.0-SNAPSHOT</version>
|
2012-11-27 18:43:30 -05:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
2012-11-20 18:50:07 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.spark-project</groupId>
|
|
|
|
<artifactId>spark-bagel</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Spark Project Bagel</name>
|
|
|
|
<url>http://spark-project.org/</url>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scalatest</groupId>
|
|
|
|
<artifactId>scalatest_${scala.version}</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scalacheck</groupId>
|
|
|
|
<artifactId>scalacheck_${scala.version}</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
2012-12-10 13:58:56 -05:00
|
|
|
<outputDirectory>target/scala-${scala.version}/classes</outputDirectory>
|
|
|
|
<testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory>
|
2012-11-20 18:50:07 -05:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.scalatest</groupId>
|
|
|
|
<artifactId>scalatest-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>hadoop1</id>
|
2013-01-07 20:46:22 -05:00
|
|
|
<activation>
|
2013-01-08 06:19:43 -05:00
|
|
|
<property>
|
|
|
|
<name>!hadoop</name>
|
|
|
|
</property>
|
2013-01-07 20:46:22 -05:00
|
|
|
</activation>
|
2012-11-20 18:50:07 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spark-project</groupId>
|
|
|
|
<artifactId>spark-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>hadoop1</classifier>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-core</artifactId>
|
2012-12-11 00:27:54 -05:00
|
|
|
<scope>provided</scope>
|
2012-11-20 18:50:07 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<classifier>hadoop1</classifier>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>hadoop2</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spark-project</groupId>
|
|
|
|
<artifactId>spark-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>hadoop2</classifier>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-core</artifactId>
|
2012-12-11 00:27:54 -05:00
|
|
|
<scope>provided</scope>
|
2012-11-20 18:50:07 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-client</artifactId>
|
2012-12-11 00:27:54 -05:00
|
|
|
<scope>provided</scope>
|
2012-11-20 18:50:07 -05:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<classifier>hadoop2</classifier>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2012-12-10 13:58:56 -05:00
|
|
|
</project>
|