From d7eac4c3db7462e60e0c456dc93780167f5fcb2c Mon Sep 17 00:00:00 2001 From: Rahul Singhal Date: Sun, 27 Jul 2014 18:50:32 -0700 Subject: [PATCH] SPARK-2651: Add maven scalastyle plugin Can be run as: "mvn scalastyle:check" Author: Rahul Singhal Closes #1550 from rahulsinghaliitd/SPARK-2651 and squashes the following commits: 53748dd [Rahul Singhal] SPARK-2651: Add maven scalastyle plugin --- .gitignore | 1 + pom.xml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/.gitignore b/.gitignore index 061c8946d23c1..a4ec12ca6b53f 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,7 @@ unit-tests.log rat-results.txt scalastyle.txt conf/*.conf +scalastyle-output.xml # For Hive metastore_db/ diff --git a/pom.xml b/pom.xml index 4e2d64a833640..d2e6b3c0ed5a4 100644 --- a/pom.xml +++ b/pom.xml @@ -957,6 +957,30 @@ org.apache.maven.plugins maven-source-plugin + + org.scalastyle + scalastyle-maven-plugin + 0.4.0 + + false + true + false + false + ${basedir}/src/main/scala + ${basedir}/src/test/scala + scalastyle-config.xml + scalastyle-output.xml + UTF-8 + + + + package + + check + + + +