aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2015-04-15 15:17:58 +0100
committerSean Owen <sowen@cloudera.com>2015-04-15 15:17:58 +0100
commit6c5ed8a6d552abd967d27cdb94b68d46ccb57221 (patch)
tree440e86a026c66e308fc28685f76ba172a8bd69b3 /pom.xml
parent29aabdd6c20197adb16706823a8c7f48a0074352 (diff)
downloadspark-6c5ed8a6d552abd967d27cdb94b68d46ccb57221.tar.gz
spark-6c5ed8a6d552abd967d27cdb94b68d46ccb57221.tar.bz2
spark-6c5ed8a6d552abd967d27cdb94b68d46ccb57221.zip
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 <sowen@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
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 261292d5b6..bcc2f57f1a 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>