diff options
author | Sean Owen <sowen@cloudera.com> | 2015-04-15 15:17:58 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-04-15 15:17:58 +0100 |
commit | 6c5ed8a6d552abd967d27cdb94b68d46ccb57221 (patch) | |
tree | 440e86a026c66e308fc28685f76ba172a8bd69b3 /pom.xml | |
parent | 29aabdd6c20197adb16706823a8c7f48a0074352 (diff) | |
download | spark-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.xml | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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> |