[
https://issues.apache.org/jira/browse/BAHIR-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on BAHIR-23 started by Christian Kadner.
---------------------------------------------
> Build should fail on Checkstyle violation
> -----------------------------------------
>
> Key: BAHIR-23
> URL: https://issues.apache.org/jira/browse/BAHIR-23
> Project: Bahir
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.0.0
> Reporter: Christian Kadner
> Assignee: Christian Kadner
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> 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.
> {code:xml}
> <plugin>
> ...
> <artifactId>scalastyle-maven-plugin</artifactId>
> ...
> <configuration>
> ...
> <failOnViolation>true</failOnViolation>
> ...
> </configuration>
> ...
> </plugin>
> <plugin>
> ...
> <artifactId>maven-checkstyle-plugin</artifactId>
> ...
> <configuration>
> ...
> <failOnViolation>false</failOnViolation>
> ...
> </configuration>
> ...
> </plugin>
> {code}
> As a consequence potential problems in the Java code may not get noticed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)