[
https://issues.apache.org/jira/browse/TAMAYA-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280441#comment-14280441
]
Oliver B. Fischer commented on TAMAYA-53:
-----------------------------------------
Enabled support for an external FindBugs configuraiton today. Currently
FindBugs is still disabled by default since there are many issues currently
reported by FindBugs that causes the build to fail.
> 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)