Repository: incubator-reef Updated Branches: refs/heads/master 942af9b3f -> 90e8e2b47
[REEF-789] Convert high-priority warnings reported by Findbugs to build breaks JIRA: [REEF-789](https://issues.apache.org/jira/browse/REEF-789) Pull request: This closes #528 Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/90e8e2b4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/90e8e2b4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/90e8e2b4 Branch: refs/heads/master Commit: 90e8e2b470568daee2c399016d7381b528d5e25f Parents: 942af9b Author: Mariia Mykhailova <[email protected]> Authored: Mon Sep 28 12:32:54 2015 -0700 Committer: Byung-Gon Chun <[email protected]> Committed: Tue Sep 29 09:51:44 2015 +0900 ---------------------------------------------------------------------- pom.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/90e8e2b4/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 490bbe7..6b908a3 100644 --- a/pom.xml +++ b/pom.xml @@ -305,7 +305,7 @@ under the License. <configuration> <effort>Max</effort> <threshold>High</threshold> - <failOnError>false</failOnError> + <failOnError>true</failOnError> <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory> <excludeFilterFile>${rootPath}/lang/java/reef-common/src/main/resources/findbugs-exclude.xml</excludeFilterFile> </configuration> @@ -409,6 +409,19 @@ under the License. </execution> </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <executions> + <execution> + <id>analyze-compile</id> + <phase>compile</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>
