You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2015/04/15 16:18:04 UTC

spark git commit: SPARK-6861 [BUILD] Scalastyle config prevents building Maven child modules alone

Repository: spark
Updated Branches:
  refs/heads/master 29aabdd6c -> 6c5ed8a6d


SPARK-6861 [BUILD] Scalastyle config prevents building Maven child modules alone

Move scalastyle-config.xml to dev/ (SBT config still doesn't work) to fix running mvn targets from subdirs; make scalastyle a verify stage target again in Maven; output results in target not project root; update to scalastyle 0.7.0

Author: Sean Owen <so...@cloudera.com>

Closes #5471 from srowen/SPARK-6861 and squashes the following commits:

acac637 [Sean Owen] Oops, add back execution but leave it at the default verify phase
35a4fd2 [Sean Owen] Revert change to scalastyle-config.xml location, but return scalastyle Maven check to verify phase instead of package to get it farther out of the way, since the Maven invocation is optional
c4fb42c [Sean Owen] Move scalastyle-config.xml to dev/ (SBT config still doesn't work) to fix running mvn targets from subdirs; make scalastyle a verify stage target again in Maven; output results in target not project root; update to scalastyle 0.7.0


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6c5ed8a6
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6c5ed8a6
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6c5ed8a6

Branch: refs/heads/master
Commit: 6c5ed8a6d552abd967d27cdb94b68d46ccb57221
Parents: 29aabdd
Author: Sean Owen <so...@cloudera.com>
Authored: Wed Apr 15 15:17:58 2015 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Wed Apr 15 15:17:58 2015 +0100

----------------------------------------------------------------------
 pom.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/6c5ed8a6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 261292d..bcc2f57 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1447,7 +1447,7 @@
       <plugin>
         <groupId>org.scalastyle</groupId>
         <artifactId>scalastyle-maven-plugin</artifactId>
-        <version>0.4.0</version>
+        <version>0.7.0</version>
         <configuration>
           <verbose>false</verbose>
           <failOnViolation>true</failOnViolation>
@@ -1456,13 +1456,12 @@
           <sourceDirectory>${basedir}/src/main/scala</sourceDirectory>
           <testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory>
           <configLocation>scalastyle-config.xml</configLocation>
-          <outputFile>scalastyle-output.xml</outputFile>
+          <outputFile>${basedir}/target/scalastyle-output.xml</outputFile>
           <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
           <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
         </configuration>
         <executions>
           <execution>
-            <phase>package</phase>
             <goals>
               <goal>check</goal>
             </goals>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org