[
https://issues.apache.org/jira/browse/TAMAYA-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272620#comment-14272620
]
Oliver B. Fischer commented on TAMAYA-53:
-----------------------------------------
Hi, the only way to solve this in generell is to introduce a separate _build
tools module_ as described in [Multimodule Configuration 4 FindBugs Maven
Module|http://mojo.codehaus.org/findbugs-maven-plugin-3.0.0/examples/multi-module-config.html].
Otherwise we will never get full control over such tools.
There are many real advantages:
1. We can put the whole confugration in separate files and remove it from the
POM.
2. We can integrate these configuration file in our IDE and perform the same
checks in our IDE as with Maven.
3. forgotten ;-)
We already discussed this approach once and I was not able to convince you to
do this since we had to change the module structure for that. But now with the
separation in Java 7 and Java 8 we had only to add a new module at the top
level and we are done.
If none of you objects I will do this in the next week. WDYT?
> 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)