You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Oliver B. Fischer (JIRA)" <ji...@apache.org> on 2015/02/08 23:00:35 UTC

[jira] [Reopened] (TAMAYA-53) Build fails because of issues found by FindBugs

     [ https://issues.apache.org/jira/browse/TAMAYA-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver B. Fischer reopened TAMAYA-53:
-------------------------------------

> Build fails because of issues found by FindBugs
> -----------------------------------------------
>
>                 Key: TAMAYA-53
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-53
>             Project: Tamaya
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 0.1-incubating
>            Reporter: Oliver B. Fischer
>            Assignee: Oliver B. Fischer
>            Priority: Minor
>             Fix For: 0.1-incubating
>
>
> Running our build with FindBugs activated leads to a build error. As we decided on the mailing list we will execute all checks during a build. Currently this is not possible.
> You can check this easily by running Maven with 
> {code}
> mvn -Dfindbugs.skip=false
> {code}
> Maven fails with the following message:
> {code}
> [INFO] >>> findbugs-maven-plugin:3.0.0:check (findbugs-analyze) > :findbugs @ tamaya-api >>>
> [INFO]
> [INFO] --- findbugs-maven-plugin:3.0.0:findbugs (findbugs) @ tamaya-api ---
> [INFO] Fork Value is true
>      [java] Warnings generated: 1
> [INFO] Done FindBugs Analysis....
> [INFO]
> [INFO] <<< findbugs-maven-plugin:3.0.0:check (findbugs-analyze) < :findbugs @ tamaya-api <<<
> [INFO]
> [INFO] --- findbugs-maven-plugin:3.0.0:check (findbugs-analyze) @ tamaya-api ---
> [INFO] BugInstance size is 1
> [INFO] Error size is 0
> [INFO] Total bugs: 1
> [INFO] org.apache.tamaya.Configuration.getBoolean(String) has Boolean return type and returns explicit null ["org.apache.tamaya.Configuration"] At Configuration.java:[lines 95-201]
> [INFO] ------------------------------------------------------------------------
> {code}
> As far as I know there is no possibility to configure all options of FindBugs directly in the Maven profile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)