From ccff0a089a84fed9fab19837bf0f5695c358d918 Mon Sep 17 00:00:00 2001
From: Matei Zaharia <matei@eecs.berkeley.edu>
Date: Mon, 10 Dec 2012 10:58:56 -0800
Subject: [PATCH] Use the same output directories that SBT had in subprojects

This will make it easier to make the "run" script work with a Maven build
---
 bagel/pom.xml    | 4 +++-
 examples/pom.xml | 4 +++-
 pom.xml          | 2 +-
 repl/pom.xml     | 2 ++
 4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/bagel/pom.xml b/bagel/pom.xml
index 1b7f8a9667..b462801589 100644
--- a/bagel/pom.xml
+++ b/bagel/pom.xml
@@ -32,6 +32,8 @@
     </dependency>
   </dependencies>
   <build>
+    <outputDirectory>target/scala-${scala.version}/classes</outputDirectory>
+    <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory>
     <plugins>
       <plugin>
         <groupId>org.scalatest</groupId>
@@ -98,4 +100,4 @@
       </build>
     </profile>
   </profiles>
-</project>
\ No newline at end of file
+</project>
diff --git a/examples/pom.xml b/examples/pom.xml
index 3722203465..d2643f046c 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -32,6 +32,8 @@
     </dependency>
   </dependencies>
   <build>
+    <outputDirectory>target/scala-${scala.version}/classes</outputDirectory>
+    <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory>
     <plugins>
       <plugin>
         <groupId>org.scalatest</groupId>
@@ -98,4 +100,4 @@
       </build>
     </profile>
   </profiles>
-</project>
\ No newline at end of file
+</project>
diff --git a/pom.xml b/pom.xml
index 45760f5b78..6cec40546b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@
   </developers>
   <issueManagement>
     <system>github</system>
-    <url>https://github.com/mesos/spark/issues#issue/</url>
+    <url>https://spark-project.atlassian.net/browse/SPARK</url>
   </issueManagement>
 
   <prerequisites>
diff --git a/repl/pom.xml b/repl/pom.xml
index e8dc0ff67b..f6328812dd 100644
--- a/repl/pom.xml
+++ b/repl/pom.xml
@@ -53,6 +53,8 @@
     </dependency>
   </dependencies>
   <build>
+    <outputDirectory>target/scala-${scala.version}/classes</outputDirectory>
+    <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory>
     <plugins>
       <plugin>
         <groupId>org.scalatest</groupId>
-- 
GitLab