Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Spark-2.0.0
-
None
Description
Currently the maven build will fail for code style violations in Scala files but the build will succeed regardless of code style violations in Java files.
<plugin> ... <artifactId>scalastyle-maven-plugin</artifactId> ... <configuration> ... <failOnViolation>true</failOnViolation> ... </configuration> ... </plugin> <plugin> ... <artifactId>maven-checkstyle-plugin</artifactId> ... <configuration> ... <failOnViolation>false</failOnViolation> ... </configuration> ... </plugin>
As a consequence potential problems in the Java code may not get noticed.