You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bahir.apache.org by "Christian Kadner (JIRA)" <ji...@apache.org> on 2016/07/09 05:51:10 UTC
[jira] [Created] (BAHIR-23) Build should fail on Checkstyle
violation
Christian Kadner created BAHIR-23:
-------------------------------------
Summary: 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
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)